← CVE Intelligence

CVE-2025-47906

Unexpected paths returned from LookPath in os/exec PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Go standard library / os/execaffected 0 before 1.23.12; affected 1.24.0 before 1.24.6

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.