published 3 Sep 2025 · updated 18 Nov 2025
Unexpected paths returned from LookPath in os/exec
6.5MediumCVSS 6.5EPSS 1%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.23.12 and 1.24.6.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.23.12, >=1.24.0 <1.24.6 | 1.23.12, 1.24.6 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket