Low severity · published Aug 6, 2025
CVE-2024-8244
Walk/WalkDir in path/filepath susceptible to symlink race
3.7
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 12% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
path/filepath · Go standard library
All versions, or not specified · source: vendor
Affected product
PA
path/filepath
Go standard library
More from path/filepath
7.5
CVE-2022-30632
Stack exhaustion on crafted paths in path/filepath
7.5
CVE-2022-29804
Path traversal via Clean on Windows in path/filepath