{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"libexpat/libexpat","product":"libexpat","source":"CNA: VulnCheck","vendor":"libexpat project","versions":[{"lessThanOrEqual":"2.10.0","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-128241","cwes":["CWE-59"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":4.1,"severity":"medium","source":"CNA: VulnCheck","vector":"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","version":"4.0"},{"score":4.4,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"score":4.1,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"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","version":"4.0"},{"score":4.4,"severity":"medium","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"}],"modifiedAt":1794565092137,"publishedAt":1794562426216,"references":[{"source":"CNA: VulnCheck","tags":["patch","issue-tracking"],"url":"https://github.com/libexpat/libexpat/pull/1502"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1338-L1347"},{"source":"CNA: VulnCheck","tags":["product"],"url":"https://github.com/libexpat/libexpat"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/libexpat/libexpat"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1338-L1347"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/libexpat/libexpat/pull/1502"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/libexpat/libexpat/pull/1502"}],"revision":"157b2f4c2d16111569cf108ef8dbf3d08f416115873ee9556e31782102f3bf5a","sources":[{"modifiedAt":1794562426216,"name":"CNA: VulnCheck","retrievedAt":1794564853861,"url":"https://www.cve.org/CVERecord?id=CVE-2026-128241"},{"modifiedAt":1794565092137,"name":"NVD","retrievedAt":1794572256439,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128241"}],"ssvc":null,"status":"published","title":"libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory","updatedAt":1794572256439}