Read the docs
TI-2025-00776 Aliases CVE-2025-0913GHSA-jw54-c8rr-pjpq

Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall

Priority LOW 25CWE-59Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00327 25th percentileScored 2026-11-07
Fix Fixed syscall (Go standard library): 1.23.10, 1.24.4os (Go standard library): 1.23.10, 1.24.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Go standard librarysyscallbefore 1.23.10; 1.24.0-0 to before 1.24.41.23.10, 1.24.4Patch availableCNA
Go standard libraryosbefore 1.23.10; 1.24.0-0 to before 1.24.41.23.10, 1.24.4Patch availableCNA
  • syscall VendorGo standard library Affected before 1.23.10; 1.24.0-0 to before 1.24.4 Fixed in 1.23.10, 1.24.4 Patch available CNA
  • os VendorGo standard library Affected before 1.23.10; 1.24.0-0 to before 1.24.4 Fixed in 1.23.10, 1.24.4 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*before 1.23.10; 1.24.0 to before 1.24.4VulnerableGo standard library
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*not specified by NVDRunning onMicrosoft
  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Versions before 1.23.10; 1.24.0 to before 1.24.4 Vulnerable ·Go standard library
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Microsoft

Remediation

  • Fix · CNA syscall (Go standard library) Fixed in 1.23.10, 1.24.4
  • Fix · CNA os (Go standard library) Fixed in 1.23.10, 1.24.4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-0913
  2. 2026-10-03 Alias added: GHSA-jw54-c8rr-pjpq

References

  • TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
  • TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
  • TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
  • TI-2018-12083 Improper input validation in [UNKNOWN] golang CVSS 3.1HIGH 8.1
  • TI-2024-16306 Mishandling of corrupt central directory record in archive/zip CVSS 3.1MEDIUM 5.5
  • TI-2021-15910 Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a… CVSS 3.1CRITICAL 9.8
See all 170 →

Sources