# CVE-2026-128241: libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory

- Severity: Medium 4.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-13T09:33:46.216Z
- Modified: 2026-11-17T14:17:38.427Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- libexpat project libexpat: up to 2.10.0

## Every score

- VulnCheck: CVSS:4.0 4.1 Medium `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: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N`

## 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

- CVE List: [CVE-2026-128241](https://www.cve.org/CVERecord?id=CVE-2026-128241), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-128241](https://nvd.nist.gov/vuln/detail/CVE-2026-128241), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-128241 · Whole record: https://cve.day/CVE-2026-128241.json · Rebuilt by cve.day 2026-11-25T22:59:50.693Z
