GO-2025-3956
Dashboard / Vulnerabilities / GO-2025-3956
GO-2025-3956
Published: 18 Sept 2025Last Modified: 24 Jul 2026
Summary: Unexpected paths returned from LookPath in os/exec
Details: 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://go.dev/cl/691775, https://go.dev/issue/74466, https://groups.google.com/g/golang-announce/c/x5MKroML2yM
Affected packages
Package
Name: stdlib
Purl: pkg:golang/stdlib
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.23.12
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
