Skip to content
6.5 Medium

CVE-2025-47906 If the PATH environment variable contains paths which are executables (rather than just directories), passing certain…

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 products and versions

Product Affected versions Fixed in
os/exec 1.24 1.24.0 → < 1.24.6 1.24.6
os/exec 1.23 earliest → < 1.23.12 1.23.12

References

Timeline

  1. Published
  2. Last modified
The 3 CVEs of os/exec →
Track this CVE