Vulnerability in Golang Go
CVE-2025-47906
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: 0.005 (39.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
Affected products
- Golang Go
- Go Standard Library Os/exec — versions 0, 1.24.0
Public proof-of-concept exploits
References
- security@golang.org (Patch)
- security@golang.org (Exploit, Third Party Advisory, Issue Tracking)
- security@golang.org (Mailing List, Release Notes)
- security@golang.org (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Issue Tracking, Mailing List)
Frequently asked questions
- What is CVE-2025-47906?
- CVE-2025-47906 is a medium-severity vulnerability in Golang Go, classified under CWE-115: MISINTERPRETATION OF INPUT. CVSS score: 6.5/10. Published 2025-09-18.
- How severe is CVE-2025-47906?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2025-47906 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.