CVE-2024-8244 Details
Description
The filepath.Walk and filepath.WalkDir functions are documented as not following symbolic links, but both functions are susceptible to a TOCTOU (time of check/time of use) race condition where a portion of the path being walked is replaced with a symbolic link while the walk is in progress.
A time-of-check-to-time-of-use (TOCTOU) race condition vulnerability has been identified in the Go programming language's filepath package, specifically in the Walk and WalkDir functions. Although these functions are intended not to follow symbolic links, they can be manipulated by replacing a portion of the path with a symbolic link while the function is still processing the original path. This vulnerability takes advantage of the inherent timing race in the Walk and WalkDir APIs, where file names are provided to a callback function that can be interrupted before the file is accessed. As a result, a callback that needs to avoid symlink traversal must use a more secure file access method. This vulnerability has been assigned CVE-2024-8244.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2025CISA-ADP
Assessed Nov 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/issue/70007 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://pkg.go.dev/vuln/GO-2025-9999 | [email protected] | Broken LinkVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| golang | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | CVE Modified | CISA-ADP |
| Aug 6, 2025 | New CVE Received | [email protected] |
Volerion