Launch Week Day 1: Announcing Security Design Review
UNKNOWN Go

Unexpected paths returned from LookPath in os/exec

GO-2025-3956 · BIT-golang-2025-47906 · CVE-2025-47906

Published · Modified

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes