CVE-2025-47906 Details
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.
A vulnerability exists in the Go programming language's standard library, specifically in the os/exec package, prior to version 1.24.6 and in version 1.23.12. The issue arises within the LookPath function, which incorrectly processes certain path inputs when the PATH environment variable includes executable files. This mismanagement can lead to unintended execution of binaries. The vulnerability is particularly exploitable on Windows systems under specific conditions.
Users can upgrade to Go versions 1.24.6 or 1.23.12, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/08/06/1 | CVE | Issue TrackingMailing List |
| https://go.dev/cl/691775 | [email protected] | Patch |
| https://go.dev/issue/74466 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://groups.google.com/g/golang-announce/c/x5MKroML2yM | [email protected] | Mailing ListRelease Notes |
| https://pkg.go.dev/vuln/GO-2025-3956 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.23.12 >= 1.24.0, < 1.24.6 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 27, 2026 | Initial Analysis | [email protected] |
| Nov 4, 2025 | CVE Modified | CVE |
| Sep 18, 2025 | CVE Modified | CISA-ADP |
| Sep 18, 2025 | New CVE Received | [email protected] |