libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory
CVE-2026-128241Published 13 Nov 2026, 09:33 UTC
Real-world risk
0.4/ 10Low
Routine
If the vulnerable configuration applies to you: 0.9
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| ExpatUbiquitous | <= 2.10.0 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.1% chance of exploitation in 30 days (percentile 4), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.071
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.0709 × threat 0.850.422
- Rounded to one decimal between 0.1 and 100.4
Exploitation and evidence timeline
- 13 Nov 2026 Published
- 3 Dec 2026 Risk 0.4 (cvss fallback)
Weakness
CWE-59
References
- https://github.com/libexpat/libexpat/pull/1502issue-tracking, patch
- https://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275technical-description
- https://github.com/libexpat/libexpatproduct
- https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directorythird-party-advisory
- CVE-2026-128241 on CVE.org