FlawAtlas
Search the atlas
CVE-2025-47906 Moderate

Unexpected paths returned from LookPath in os/exec

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.

Exploit probability 0.5%
Published September 18, 2025
Required by Not available
Last source change July 24, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

156 explicit affected versions

Go stdlib
Bitnami golang

03 / CONNECTIONS

Connected vulnerabilities

related OPENSUSE-SU-2026:21483-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2025-47906

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.

View original source
Open Source Vulnerabilities GO-2025-3956

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.

View original source
Open Source Vulnerabilities BIT-golang-2025-47906

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.

View original source

05 / REFERENCES

Further evidence