6.5 CVE-2025-47906

Enriched by CISA Patch Exploit
 

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.
https://nvd.nist.gov/vuln/detail/CVE-2025-47906

Categories

CWE-NVD-Other

References

af854a3a-2127-422b-91ae-364da2661108

security@golang.org Patch Exploit


 

AFFECTED (from MITRE)


Vendor Product Versions
Go standard library os/exec
  • < 1.23.12 [affected]
  • 1.24.0 < 1.24.6 [affected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end
Configuration 1
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.23.12
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* >= 1.24.0 < 1.24.6


REMEDIATION


Patch

Url
https://go.dev/cl/691775


EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
https://go.dev/issue/74466


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
No entry