CVE-2025-47906

medium

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.

References

https://pkg.go.dev/vuln/GO-2025-3956

https://groups.google.com/g/golang-announce/c/x5MKroML2yM

https://go.dev/issue/74466

https://go.dev/cl/691775

https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-30195

http://www.openwall.com/lists/oss-security/2025/08/06/1

Details

Source: Mitre, NVD

Published: 2025-09-18

Updated: 2026-01-27

Named Vulnerability: GO-2025-3956Named Vulnerability: GHSA-gwrf-jf3h-w649

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Severity: Medium

EPSS

EPSS: 0.0055