Vulnerability in Go Standard Library Path/filepath

CVE-2024-8244

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.

EPSS: 0.002 (10.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N.

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-8244?
CVE-2024-8244 is a low-severity vulnerability in Go Standard Library Path/filepath, classified under CWE-367: TIME-OF-CHECK TIME-OF-USE (TOCTOU) RACE CONDITION. CVSS score: 3.7/10. Published 2025-08-06.
How severe is CVE-2024-8244?
Low severity. CVSS v3 base score is 3.7 out of 10.
Is CVE-2024-8244 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.