CVE-2024-8244

Walk/WalkDir in path/filepath susceptible to symlink race

Low · published August 6, 2025

CVSS v3.1
3.7
EPSS
0%
Percentile
9.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.7 · LOW
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00203 · 9.8th percentile
Published
2025-08-06T15:32Z
EPSS history
Timeline
  • 06 AUG 15:32Z
    Walk/WalkDir in path/filepath susceptible to symlink race
    cvelistv5