CVE-2025-47906

Unexpected paths returned from LookPath in os/exec

MEDIUM
6.5
CVSS Score
Published: September 18, 2025 at 06:41 PM UTC
Updated: June 17, 2026 at 09:28 AM UTC
2 products affected across 2 vendorsGoOs/exec

Using os/exec by Go standard library?

Get instant alerts when new vulnerabilities affect os/exec - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.23.121.24.0 ≤ v < 1.24.6
v < 1.23.121.24.0 ≤ v < 1.24.61.24.0
Affected range stops below 1.23.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.24.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (5)

Patch
Source: cverecord
https://go.dev/cl/691775
ExploitIssue TrackingThird Party Advisory
Source: cverecord
https://go.dev/issue/74466
Mailing ListRelease Notes
Source: cverecord
https://groups.google.com/g/golang-announce/c/x5MKroML2yM
Vendor Advisory
Source: cverecord
https://pkg.go.dev/vuln/GO-2025-3956
Issue TrackingMailing List
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2025/08/06/1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card