CVE-2025-0913
Last modified
CVE-2025-0913 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with O_CREATE and O_EXCL flags never follows symlinks. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a dangling symlink. On Unix systems, OpenFile with O_CREATE and O_EXCL flags never follows symlinks. On Windows, when the target path was a symlink to a nonexistent location, OpenFile would create a file in that location. OpenFile now always returns an error when the O_CREATE and O_EXCL flags are both set and the target path is a symlink.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.23.10 |
| Golang | Go | >= 1.24.0, < 1.24.4 |
References
- https://go.dev/cl/672396Issue Tracking
- https://go.dev/issue/73702Issue Tracking
- https://pkg.go.dev/vuln/GO-2025-3750Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-0913?
How severe is CVE-2025-0913?
How do I fix CVE-2025-0913?
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-0907PDF-XChange Editor JB2 File Parsing Out-Of-Bounds Read Infor…8.8
- CVE-2025-0908PDF-XChange Editor U3D File Parsing Out-Of-Bounds Read Infor…8.8
- CVE-2025-0909PDF-XChange Editor XPS File Parsing Out-Of-Bounds Read Infor…8.8
- CVE-2025-0910PDF-XChange Editor U3D File Parsing Out-Of-Bounds Write Remo…8.8
- CVE-2025-0911PDF-XChange Editor U3D File Parsing Out-Of-Bounds Read Infor…8.8
- CVE-2025-0912The Donations Widget plugin for WordPress is vulnerable to P…9.8
- CVE-2025-0914An improper access control issue in the VQL shell feature in…3.8
- CVE-2025-0915IBM Db2 for Linux, UNIX and Windows (includes DB2 Connect Se…6.5
- CVE-2025-0916The YaySMTP and Email Logs: Amazon SES, SendGrid, Outlook, M…6.1
- CVE-2025-0917IBM Cognos Analytics 11.2.0, 11.2.1, 11.2.2, 11.2.3, 11.2.4,…4.8
- CVE-2025-0918The SMTP for SendGrid – YaySMTP plugin for WordPress is vuln…6.1
- CVE-2025-0919Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
Are you affected by CVE-2025-0913?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
