CVE-2026-128241
Dashboard / Vulnerabilities / CVE-2026-128241
Summary: libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory
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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128241.json, https://nvd.nist.gov/vuln/detail/CVE-2026-128241, https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory, https://github.com/libexpat/libexpat/pull/1502, https://github.com/libexpat/libexpat, https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275, https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1338-L1347
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
