{"id":"GO-2025-3956","summary":"Unexpected paths returned from LookPath in os/exec","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.","aliases":["BIT-golang-2025-47906","CVE-2025-47906"],"modified":"2026-03-17T04:53:39.704684Z","published":"2025-09-18T18:21:44Z","related":["CGA-767v-h7fp-9hf6","RHSA-2025:13935","RHSA-2025:13941","RHSA-2025:21856","RHSA-2025:22004","RHSA-2025:22005","RHSA-2025:22181","RHSA-2025:22668","RHSA-2025:22899","RHSA-2025:23733","RHSA-2025:23737","RHSA-2025:23740","RHSA-2025:23741","RHSA-2025:23833","RHSA-2025:23834","RHSA-2025:23851"],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2025-3956","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/691775"},{"type":"REPORT","url":"https://go.dev/issue/74466"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/x5MKroML2yM"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.23.12"},{"introduced":"1.24.0"},{"fixed":"1.24.6"}]}],"ecosystem_specific":{"imports":[{"path":"os/exec","symbols":["LookPath"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2025-3956.json"}}],"schema_version":"1.7.5"}