GHSA-2qp8-23fp-hmf7MediumCVSS 4.4
The xmlwf tool in libexpat through 2.10.0 contains a symlink following vulnerability because -d...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-128241
- 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
- https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory
- https://github.com/advisories/GHSA-2qp8-23fp-hmf7