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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.005 (43.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 43.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Golang Go
- Go Standard Library Os/exec — versions 0, 1.24.0
Public proof-of-concept exploits
References
- go.dev/cl/691775 (Patch)
- go.dev/issue/74466 (Exploit, Third Party Advisory, Issue Tracking)
- groups.google.com/g/golang-announce/c/x5MKroML2yM (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2025-3956 (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.