Vulnerability Intelligence Report
Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall
CVE-2025-0913
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.
No Active Exploit Signals
CVSS Base Score
5.5
MEDIUM
Exploitability:1.9
Impact Score:3.6
EPSS Probability:0.24%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—
Weaknesses (CWE)
CWE-59 ↗CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected Products & Versions
| Vendor | Product | Affected Versions |
|---|---|---|
| Go standard library | syscall | 0 < 1.23.10 (affected), 1.24.0-0 < 1.24.4 (affected) |
| Go standard library | os | 0 < 1.23.10 (affected), 1.24.0-0 < 1.24.4 (affected) |
References & Technical Advisories
No reference links found.
Threat Intelligence Signals
EPSS Score
0.240%
GitHub Advisory
Identity & Timeline
| Status | PUBLISHED |
| Assigning Authority | Go Project · Vendor · USA |
| Reserved | 2025-01-30T21:52:33 |
| Published | 2025-06-11T17:17:25 |
| Last Updated | 2025-06-11T17:37:52 |
Community Chatter & Buzz