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.
History

Mon, 03 Nov 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}


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

None

threat_severity

Moderate


Wed, 06 Aug 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published: 2025-08-06T15:32:27.357Z

Updated: 2025-11-03T19:47:26.652Z

Reserved: 2024-08-27T19:41:45.564Z

Link: CVE-2024-8244

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-08-06T16:15:28.080

Modified: 2025-11-03T20:17:04.933

Link: CVE-2024-8244

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-08-06T15:32:27Z

Links: CVE-2024-8244 - Bugzilla