UNKNOWN Go
Unexpected paths returned from LookPath in os/exec
GO-2025-3956 · BIT-golang-2025-47906 · CVE-2025-47906
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes