{"id":"DHI-ee3f-jmsm-piyr-ptxa","summary":"os.OpenFile(path, os.O_CREATE|O_EXCL) behaved differently on Unix and Windows systems when the target path was a…","details":"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.","modified":"2026-12-04T19:00:10.337307870Z","published":"2026-12-04T18:26:21Z","upstream":["CVE-2025-0913"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ee3f-jmsm-piyr-ptxa"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0913"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2025-3750"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A"},{"type":"WEB","url":"https://go.dev/issue/73702"},{"type":"WEB","url":"https://go.dev/cl/672396"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-0913"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-0913"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2025-0913"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2025-0913"},{"type":"WEB","url":"https://github.com/golang/go/issues/73702"}],"affected":[{"package":{"name":"trigger-dev-4","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/trigger-dev-4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.5-r0"}]}],"versions":["4.8.5-r0","4.9.3-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ee3f-jmsm-piyr-ptxa.json"}},{"package":{"name":"trigger-dev-4","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/trigger-dev-4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.5-r0"}]}],"versions":["4.8.5-r0","4.9.3-r0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ee3f-jmsm-piyr-ptxa.json","owner_kind":"HSP"}},{"package":{"name":"trigger-dev-4","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/trigger-dev-4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.5-0"}]}],"versions":["4.8.5-0","4.9.3-0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ee3f-jmsm-piyr-ptxa.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}