MEDIUM · CVSS 5.5 Published: 2025-06-11

CVE-2025-0913 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-0913
Base Severity / ScoreMEDIUM (5.5 / 10.0)
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness ClassificationCWE-59
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-0912 CRITICAL 9.8
CVE-2025-0915 MEDIUM 5.3
CVE-2025-0917 MEDIUM 5.5
CVE-2025-0923 MEDIUM 5.3
CVE-2025-0926 MEDIUM 5.9
CVE-2025-0932 MEDIUM 4.3
CVE-2025-0934 MEDIUM 6.3