CVE-2026-128241
Published: November 17, 2026Last modified: November 28, 2026
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.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score | 4.4 |
| Attack Vector | LOCAL |
| Attack complexity | HIGH |
| Privileges required | LOW |
| User interaction | REQUIRED |
| Scope | UNCHANGED |
| Confidentiality | NONE |
| Integrity impact | HIGH |
| Availability impact | NONE |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N |
Status
| Product | Release | Package | Status |
|---|---|---|---|
| Alpaquita Linux | 23 LTS | expat | Fixed (2.11.0-r0) |
| 25 LTS | expat | Fixed (2.11.0-r0) | |
| Stream | expat | Fixed (2.11.0-r0) | |
| Hardened Containers | 23 LTS | expat | Fixed (2.11.0-r0) |
| 25 LTS | expat | Fixed (2.11.0-r0) | |
| Stream | expat | Fixed (2.11.0-r0) |
References
- 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://github.com/libexpat/libexpat/pull/1502
- https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory