Description
If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LAffected software
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | os/exec | < 1.23.12; >= 1.24.0, < 1.24.6 |
References
- https://go.dev/cl/691775Patch
- https://go.dev/issue/74466Exploit, Issue Tracking, Third Party Advisory
- https://groups.google.com/g/golang-announce/c/x5MKroML2yMMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2025-3956Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/08/06/1Issue Tracking, Mailing List
Timeline
- Published
- Sep 18, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed