{"id":"DHI-pmyf-tkab-gacx-6bj4","summary":"The xmlwf tool in libexpat through 2.10.0 contains a symlink following vulnerability because -d output mode opens files…","details":"The xmlwf tool in libexpat through 2.10.0 contains a symlink following vulnerability because -d output mode opens files with fopen(\"wb\"), which follows symbolic links. Local attackers with write access to the output directory can plant a symlink at the expected output name to truncate or overwrite files writable by the xmlwf user.","modified":"2026-11-25T15:45:58.095644843Z","published":"2026-11-19T20:54:10Z","upstream":["CVE-2026-128241"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-pmyf-tkab-gacx-6bj4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128241"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-128241"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-128241"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-128241"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-128241"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/pull/1502"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1338-L1347"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275"}],"affected":[{"package":{"name":"expat","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/expat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-r2"}]}],"versions":["2.10.0-r1","2.7.3-r0","2.7.4-r0","2.7.5-r0","2.8.1-r0","2.8.2-r0","2.8.3-r0","2.8.3-r1","2.8.4-r0","2.8.5-r0","2.8.5-r1","2.9.0-r0","2.9.0-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pmyf-tkab-gacx-6bj4.json","owner_kind":"HSP"}},{"package":{"name":"expat","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/expat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-r2"}]}],"versions":["2.10.0-r1","2.8.1-r0","2.8.2-r0","2.8.3-r0","2.8.3-r1","2.8.4-r0","2.8.5-r0","2.8.5-r1","2.9.0-r0","2.9.0-r1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pmyf-tkab-gacx-6bj4.json"}},{"package":{"name":"expat","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/expat"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.0-1~deb13u1+dhi3"}]}],"versions":["2.7.1-2+dhi1","2.7.1-2+dhi2","2.7.1-2+dhi3","2.7.1-2+dhi4","2.7.1-2+dhi5","2.7.1-2dhi0","2.7.1-2dhi1","2.8.2-1~deb13u1+dhi0","2.8.3-1~deb13u1+dhi0","2.8.3-1~deb13u1+dhi1","2.8.3-1~deb13u1+dhi2","2.8.3-1~deb13u1+dhi3","2.8.3-1~deb13u1+dhi4","2.8.3-1~deb13u1+dhi5","2.9.0-1~deb13u1+dhi0","2.9.0-1~deb13u1+dhi1","2.9.0-1~deb13u1+dhi2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-pmyf-tkab-gacx-6bj4.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}