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.
Problem types
CWE-115: Misinterpretation of Input
Product status
Any version before 1.23.12
1.24.0 (semver) before 1.24.6
References
www.openwall.com/lists/oss-security/2025/08/06/1
groups.google.com/g/golang-announce/c/x5MKroML2yM