Vulnerability · CVE-2025-47906
Unexpected paths returned from LookPath in os/exec
Published Sep 18, 2025 · catalog updated Oct 14, 2026 · Unexpected paths returned from
Check if you run it
No confirmed exploitation is on record for CVE-2025-47906. EPSS is 0.55%. Act only if a listed version of Unexpected paths returned from is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Unexpected paths returned from).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Unknown—
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.55%
- Remediation
- Not established
- Affected products
- Go stdlib
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Go stdlib0 → 1.23.12
How to fix CVE-2025-47906
Recommended remediation
No required-action text, fix commit, or clear fixed-version range is stored yet.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-47906. EPSS is 0.55%. Act only if a listed version of Unexpected paths returned from is installed.
Which versions are affected?
Compare what you have installed with 0 → 1.23.12. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.55%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Sep 18, 2025 · OpenSSF OSV / OSV Scanner
Detected
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.
Oct 14, 2026 · OpenSSF OSV / OSV Scanner
Fix available
stdlib fixed in 1.23.12
Oct 14, 2026 · OpenSSF OSV / OSV Scanner
Fix available
stdlib fixed in 1.23.12
Oct 14, 2026 · OpenSSF OSV / OSV Scanner
Updated
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.
Sources
- CVE.orgVulnerability recordCVE-2025-47906
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-47906
30-day exploitation probability 0.5%
first.org - OpenSSF OSV / OSV ScannerPackage advisoryGO-2025-3956
Unexpected paths returned from LookPath in os/exec
osv.dev
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.