CVE-2025-47906
Last modified
CVE-2025-47906 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.23.12 |
| Golang | Go | >= 1.24.0, < 1.24.6 |
References
- https://go.dev/issue/74466Exploit, Issue Tracking, Third Party Advisory
- https://groups.google.com/g/golang-announce/c/x5MKroML2yMMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2025-3956Vendor Advisory
- http://www.openwall.com/lists/oss-security/2025/08/06/1Issue Tracking, Mailing List
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-47906?
How severe is CVE-2025-47906?
How do I fix CVE-2025-47906?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-4790A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-47900Improper Neutralization of Special Elements used in an OS Co…8.8
- CVE-2025-47901Improper Neutralization of Special Elements used in an OS Co…8.8
- CVE-2025-47902Improper Neutralization of Special Elements used in an SQL C…8.8
- CVE-2025-47904Download of Code Without Integrity Check vulnerability in Mi…4.1
- CVE-2025-47905Varnish Cache before 7.6.3 and 7.7 before 7.7.1, and Varnish…5.4
- CVE-2025-47907Cancelling a query (e.g. by cancelling the context passed to…7
- CVE-2025-47908Middleware causes a prohibitive amount of heap allocations w…7.5
- CVE-2025-47909Hosts listed in TrustedOrigins implicitly allow requests fro…7.3
- CVE-2025-4791A vulnerability has been found in FreeFloat FTP Server 1.0 a…9.8
- CVE-2025-47910When using http.CrossOriginProtection, the AddInsecureBypass…5.4
- CVE-2025-47911The html.Parse function in golang.org/x/net/html has quadrat…5.3
Are you affected by CVE-2025-47906?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
