CVE-2025-47906
Last modified
CVE-2025-47906 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.23.12 |
| Golang | Go | >= 1.24.0, < 1.24.6 |
References
- 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
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-47906?
How severe is CVE-2025-47906?
How do I fix CVE-2025-47906?
Are you affected by CVE-2025-47906?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
