CVE-2025-47906

Name
CVE-2025-47906
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security@golang.org https://go.dev/cl/691775
security@golang.org https://go.dev/issue/74466
security@golang.org https://groups.google.com/g/golang-announce/c/x5MKroML2yM
security@golang.org https://pkg.go.dev/vuln/GO-2025-3956
af854a3a-2127-422b-91ae-364da2661108 http://www.openwall.com/lists/oss-security/2025/08/06/1

Match rules

CPE URI Source package Min version Max version
os/exec >= 0 < 1.23.12
os/exec >= 1.24.0 < 1.24.6

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
go edge-community 1.24.6-r0 fossdd <fossdd@pwned.life> fixed
go 3.22-community 1.24.6-r0 None fixed