If the PATH environment variable contains paths which are executables (rather than just directories), passing certain
Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 4 Nov 2026, 17:59 UTC
Thin evidence
One scorer or none| CISA-ADP | CVSS 3.1 | 6.5 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 18 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
AI-suggested
Since the vulnerability depends on the PATH environment variable containing executables instead of directories, a mitigation could be to ensure that PATH only contains directories and not executable files. Monitor vendor advisories for any official patches or updates.
Description
CVE-2025-47906 is a vulnerability where if the PATH environment variable contains executable files instead of only directories, certain inputs to the LookPath function (specifically "", ".", and "..") can cause unexpected binaries from the PATH to be returned. This behavior can lead to unintended execution of binaries.
References
- nvd.nist.gov/vuln/detail/CVE-2025-47906 (opens in a new tab)
- go.dev/cl/691775 (opens in a new tab)
- go.dev/issue/74466 (opens in a new tab)
- groups.google.com/g/golang-announce/c/x5MKroML2yM (opens in a new tab)
- pkg.go.dev/vuln/GO-2025-3956 (opens in a new tab)
- openwall.com/lists/oss-security/2025/08/06/1 (opens in a new tab)