CVE-2025-47906 — Expected Behavior Violation in Standard Library OS Exec
Severity
6.5MEDIUMNVD
EPSS
0.0%
top 90.98%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedSep 18
Latest updateSep 26
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LExploitability: 3.9 | Impact: 2.5
Affected Packages2 packages
Patches
🔴Vulnerability Details
4OSV▶
CVE-2025-47906: If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", "↗2025-09-18
GHSA▶
GHSA-gwrf-jf3h-w649: If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", "↗2025-09-18
📋Vendor Advisories
3💬Community
1Bugzilla
▶