What’s Vulnerable › Vulnerabilities
CVE-2024-8244: Walk/WalkDir in path/filepath susceptible to symlink race
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-06 · updated 2026-06-17
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.
Affected products
- Go standard library path/filepath: all versions
References
Get alerted when CVE-2024-8244 or the next vulnerability affects your stack