CVE-2026-128241
4.1medium
libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory
- Severity
- 4.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libexpat project libexpat | up to 2.10.0 | CVE List |
All scores
| VulnCheck | 4.1medium CVSS:4.0 | 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 |
| VulnCheck | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/libexpat/libexpat/pull/1502 | issue-tracking, patch | |
| https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275 | technical-description | |
| https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1338-L1347 | technical-description | |
| https://github.com/libexpat/libexpat | product | |
| https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-128241 changed 2026-11-17 | CVE Terms of Use |
| NVD | CVE-2026-128241 changed 2026-11-17 | Public domain |