{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-47906","id":"CVE-2025-47906","title":"Unexpected paths returned from LookPath in os/exec","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.","descriptionLong":"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.","published":"2025-09-18T18:41:11.847Z","updated":"2026-10-29T11:42:24.982468819Z","reserved":"2025-05-13T23:31:29.596Z","status":"Analyzed","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","rating":"medium","source":"OSV"}],"rating":"medium","products":["Go standard library os/exec"],"affectedProducts":[{"vendor":"Go standard library","product":"os/exec","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.23.12","status":"affected","versionType":"semver"},{"version":"1.24.0","lessThan":"1.24.6","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.23.12",">=1.24.0 <1.24.6"],"fixed":["1.23.12","1.24.6"],"advisory":"GO-2025-3956"}],"cwes":["CWE-115"],"aliases":["BIT-golang-2025-47906","GO-2025-3956"],"references":[{"url":"https://go.dev/cl/691775","tags":["Patch","web","fix"]},{"url":"https://go.dev/issue/74466","tags":["Exploit","Issue Tracking","Third Party Advisory","web","report"]},{"url":"https://groups.google.com/g/golang-announce/c/x5MKroML2yM","tags":["Mailing List","Release Notes","web"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3956","tags":["Vendor Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/08/06/1","tags":["Issue Tracking","Mailing List","web"]},{"url":"https://pkg.go.dev","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47906.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47906","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00572,"epssPercentile":0.48094,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-47906","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47906","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-47906","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-47906","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}