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.
Metrics
Affected Vendors & Products
References
History
Tue, 12 Aug 2025 08:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Golang
Golang go |
|
Vendors & Products |
Golang
Golang go |
Thu, 07 Aug 2025 12:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-367 | |
References |
| |
Metrics |
threat_severity
|
threat_severity
|
Wed, 06 Aug 2025 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
cvssV3_1
|
Wed, 06 Aug 2025 15:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Walk/WalkDir in path/filepath susceptible to symlink race | |
References |
|

Status: PUBLISHED
Assigner: Go
Published: 2025-08-06T15:32:27.357Z
Updated: 2025-08-06T20:27:15.152Z
Reserved: 2024-08-27T19:41:45.564Z
Link: CVE-2024-8244

Updated: 2025-08-06T20:27:11.938Z

Status : Awaiting Analysis
Published: 2025-08-06T16:15:28.080
Modified: 2025-08-06T21:15:28.533
Link: CVE-2024-8244
