CVE-2025-47906
Unexpected paths returned from LookPath in os/exec
MEDIUM 6.5EPSS 0.5%
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
- Go standard library · os/exec
- CVSS v3.1 CNA
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - EPSS
- 0.55% chance of exploitation in the next 30 days, 45th percentile
- Published
- 2025-09-18
- Updated
- 2025-11-04
Proof-of-concept exploits (1)
Security advisories
- https://pkg.go.dev/vuln/GO-2025-3956
- https://go.dev/cl/691775
- https://groups.google.com/g/golang-announce/c/x5MKroML2yM
- http://www.openwall.com/lists/oss-security/2025/08/06/1