Vulnerability in Libexpat Project
CVE-2026-128241
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.001, 1.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/libexpat/libexpat/pull/1502 (issue-tracking, patch)
- github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c (technical-description)
- github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c (technical-description)
- github.com/libexpat/libexpat (product)
- www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-vi… (third-party-advisory)