CVE-2025-0913: Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.32% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Go standard library os 1.23.10, 1.24.4; Go standard library syscall 1.23.10, 1.24.4.
Low priority for now. Upgrade to Go standard library os 1.23.10, 1.24.4; Go standard library syscall 1.23.10, 1.24.4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 11, 2025
- Updated
- Jun 17, 2026
- EPSS
- 0.3% · 26th percentile
- CWE
- CWE-59
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Go). Independent of NVD's CPE analysis and usually ahead of it.
Go standard library os
- before 1.23.10affected · semver
- 1.24.0-0 and later · before 1.24.4affected · semver
Go standard library syscall
- before 1.23.10affected · semver
- 1.24.0-0 and later · before 1.24.4affected · semver
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- golang gobefore 1.23.10
- golang go1.24.0 and later · before 1.24.4
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.22 | go | from 1.24.0 · before 1.24.4-r0 | 1.24.4-r0 |
| Go | stdlib | from 1.24.0-0 · before 1.24.4 | 1.24.4 |
| Go | stdlib | before 1.23.10 | 1.23.10 |
| openSUSE:Leap 15.6 | go1.23 | before 1.23.10-150000.1.34.1 | 1.23.10-150000.1.34.1 |
| openSUSE:Leap 15.6 | go1.23-openssl | before 1.23.12-150600.13.9.1 | 1.23.12-150600.13.9.1 |
| openSUSE:Leap 15.6 | go1.24 | before 1.24.4-150000.1.26.1 | 1.24.4-150000.1.26.1 |
| openSUSE:Leap 15.6 | go1.24-openssl | before 1.24.6-150600.13.9.1 | 1.24.6-150600.13.9.1 |
| openSUSE:Tumbleweed | go1.23 | before 1.23.10-1.1 | 1.23.10-1.1 |
| openSUSE:Tumbleweed | go1.24 | before 1.24.4-1.1 | 1.24.4-1.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | before 0.0.20250612T141001-1.1 | 0.0.20250612T141001-1.1 |
| openSUSE:Tumbleweed | kubecolor | before 0.5.2-1.1 | 0.5.2-1.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | go1.24-openssl | before 1.24.4-150000.1.9.1 | 1.24.4-150000.1.9.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | go1.23 | before 1.23.10-150000.1.34.1 | 1.23.10-150000.1.34.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | go1.23-openssl | before 1.23.12-150600.13.9.1 | 1.23.12-150600.13.9.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | go1.24 | before 1.24.4-150000.1.26.1 | 1.24.4-150000.1.26.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP6 | go1.24-openssl | before 1.24.6-150600.13.9.1 | 1.24.6-150600.13.9.1 |
Same product
golang: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-7187The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only…54Plan
- CVE-2018-16873In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag…52Plan
- CVE-2021-38297Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2024-24789Jun 5, 2024 · Mishandling of corrupt central directory record in archive/zip22Monitor
- ← EarlierCVE-2024-24790Jun 5, 2024 · Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip40Plan
- Later →CVE-2025-4674Jul 29, 2025 · Unexpected command execution in untrusted VCS repositories in cmd/go34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Go standard library os | 1.23.10 | Vendor (CNA) |
| Go standard library os | 1.24.4 | Vendor (CNA) |
| Go standard library syscall | 1.23.10 | Vendor (CNA) |
| Go standard library syscall | 1.24.4 | Vendor (CNA) |
| alpine:go | 1.24.4-r0 · Alpine:v3.22 | Package registry (OSV) |
| Go:stdlib | 1.23.10 | Package registry (OSV) |
| Go:stdlib | 1.24.4 | Package registry (OSV) |
| opensuse:go1.23 | 1.23.10-150000.1.34.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:go1.23-openssl | 1.23.12-150600.13.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:go1.24 | 1.24.4-150000.1.26.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:go1.24-openssl | 1.24.6-150600.13.9.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:govulncheck-vulndb | 0.0.20250612T141001-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:kubecolor | 0.5.2-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:go1.23 | 1.23.10-150000.1.34.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Package registry (OSV) |
| suse:go1.23-openssl | 1.23.12-150600.13.9.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Package registry (OSV) |
| suse:go1.24 | 1.24.4-150000.1.26.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Package registry (OSV) |
| suse:go1.24-openssl | 1.24.4-150000.1.9.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | Package registry (OSV) |
| suse:go1.24-openssl | 1.24.6-150600.13.9.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Junyoung Park and Dong-uk KimKAIST Hacking Lab
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-32282300 days apartTOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix25Monitor
- CVE-2026-39819330 days apartInvoking "go bug" follows symlinks in predictable temporary filenames in cmd/go21Monitor
Not on record for this CVE: EPSS history · patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.