CVE-2026-128241libexpat project libexpat
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorLocal
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredLow
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.4)
CVSS v3.1 Base Metrics — Score 4.4 (MEDIUM)
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- libexpat project libexpat <= 2.10.0
- libexpat project libexpat 2.10.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run libexpat project libexpat and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 13, 2026Published
- Nov 17, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new libexpat project libexpat CVEsYou are reading CVE-2026-128241. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/libexpat/libexpat/pull/1502
- Referencehttps://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1272-L1275
- Referencehttps://github.com/libexpat/libexpat/blob/R_2_10_0/expat/xmlwf/xmlwf.c#L1338-L1347
- Referencehttps://github.com/libexpat/libexpat
- Referencehttps://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory
Data last checked: Nov 22, 2026 23:12 UTC