All reports
Unknown

Unexpected paths returned from LookPath in os/exec

Affected versions

Affected versions
<1.23.12 || >=1.24.0 <1.24.6
Fixed version
1.23.12 · 1.24.6

Exploitation

CVE-2025-47906

Probability of exploitation in the next 30 days: 0.57%

FIRST EPSS · 2026-11-25

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.

Links