Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.23.12 |
References
- https://go.dev/cl/691775Patch
- https://go.dev/issue/74466ExploitIssue TrackingThird Party Advisory
- https://groups.google.com/g/golang-announce/c/x5MKroML2yMMailing ListRelease Notes
- https://pkg.go.dev/vuln/GO-2025-3956Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/08/06/1Mailing ListIssue Tracking
FAQ
What is CVE-2025-47906?
CVE-2025-47906 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2025-47906?
CVE-2025-47906 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-47906?
Check the references section above for vendor advisories and patch information. Affected products include: Golang Go.