—
GO-2025-3956
Unexpected paths returned from LookPath in os/exec
Quick fix
GO-2025-3956 — stdlib: upgrade to the fixed version with the command below.
go get stdlib@v1.23.12 Details
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.
Are you affected?
Enter the version of the package you're using.