Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-0913

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

Overview

Published
11 Jun 2025
Modified
17 Jun 2026
Medium CVE
2 Registry packages
79 OS packages
9 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-59

Affected packages · 2

Packages affected by CVE-2025-0913
EcosystemPackageVulnerableFixed in
Bitnami golang <1.23.10>=1.24.0-0, <1.24.4 1.23.101.24.4
Go stdlib <1.23.10>=1.24.0-0, <1.24.4 1.23.101.24.4

Open a package to see all its vulnerabilities.

Operating systems · 86 fixes

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2025-0913
ReleasePackageFixed in
5.0 go 1.26.3-1.ph5

SUSE Linux Enterprise 4 releases · 4 packages

fixed 14
go1-23 go1-24 go1-24-openssl go1-23-openssl
SUSE Linux Enterprise fixes for CVE-2025-0913
ReleasePackageFixed inAdvisory
15.4 go1-23 +2 1.23.10-150000.1.34.1 SUSE-SU-2025:01848-1
15.4 go1-24 +2 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1
15.4 go1-24-openssl +2 1.24.4-150000.1.9.1 SUSE-SU-2025:02120-1
15.5 go1-23 +2 1.23.10-150000.1.34.1 SUSE-SU-2025:01848-1
15.5 go1-24 +2 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1
15.5 go1-24-openssl +2 1.24.4-150000.1.9.1 SUSE-SU-2025:02120-1

8 more rows

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2025-0913
ReleasePackageFixed in
3.22 go 1.24.4-r0
3.23 go 1.24.4-r0
3.24 go 1.24.4-r0
edge go 1.24.4-r0

chainguard 1 release · 9 packages

fixed 9
kubeflow-katib go-1-20 go-1-22 newrelic-fluent-bit-output nvidia-nsight-compute-12-8 nvidia-nsight-compute-12-9 +3
chainguard fixes for CVE-2025-0913
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40
go-1-20 1.20.14-r9
go-1-22 1.22.12-r8
newrelic-fluent-bit-output 2.4.0-r5
nvidia-nsight-compute-12-8 2025.1.1.2-r7
nvidia-nsight-compute-12-9 2025.2.1.3-r8

3 more rows

echo 1 release · 2 packages

fixed 2
golang-1-23 golang-1-24
echo fixes for CVE-2025-0913
ReleasePackageFixed in
golang-1-23 1.23.10
golang-1-24 1.24.4

minimos 1 release · 47 packages

fixed 47
pombump prometheus-alertmanager kwok solr-operator-0-8 prometheus-operator ollama +41
minimos fixes for CVE-2025-0913
ReleasePackageFixed in
pombump 0.0.14-r1
prometheus-alertmanager 0.28.1-r2
kwok 0.7.0-r1
solr-operator-0-8 0.8.1-r1
prometheus-operator 0.83.0-r1
ollama 0.9.0-r1

41 more rows

openSUSE 1 release · 4 packages

fixed 4
govulncheck-vulndb kubecolor go1-23 go1-24
openSUSE fixes for CVE-2025-0913
ReleasePackageFixed inAdvisory
Tumbleweed govulncheck-vulndb 0.0.20250612T141001-1.1 openSUSE-SU-2025:15225-1
Tumbleweed kubecolor 0.5.2-1.1 openSUSE-SU-2025:15586-1
Tumbleweed go1-23 +3 1.23.10-1.1 openSUSE-SU-2025:15223-1
Tumbleweed go1-24 +3 1.24.4-1.1 openSUSE-SU-2025:15224-1

ubuntu 1 release · 1 package

affected 1
golang-1-18
ubuntu fixes for CVE-2025-0913
ReleasePackageFixed in
20.04-ESM golang-1-18 +2 affected

wolfi 1 release · 4 packages

fixed 4
kubeflow-katib go-1-20 go-1-22 newrelic-fluent-bit-output
wolfi fixes for CVE-2025-0913
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40
go-1-20 1.20.14-r9
go-1-22 1.22.12-r8
newrelic-fluent-bit-output 2.4.0-r5

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.