CVE-2026-128241
published medium CVSS 4.0 · 4.1libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libexpat project | — | libexpat0 through 2.10.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | expat | Fixed | 2.11.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | expataarch64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| Ubuntu | jammy | expat | Advisory build | 2.4.7-1ubuntu0.10 | USN-9196-1 |
| Alpine Linux | v3.21 | expat | Fixed | 2.11.0-r0 | Package fix record |
| Alpine Linux | v3.22 | expat | Fixed | 2.11.0-r0 | Package fix record |
Show 26 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | expat | Fixed | 2.11.0-r0 | Package fix record |
| Alpine Linux | v3.24 | expat | Fixed | 2.11.0-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | expatppc64le | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | expats390x | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | expatx86_64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-develaarch64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-develppc64le | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-devels390x | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-develx86_64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-devel-32bitaarch64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-devel-32bitppc64le | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-devel-32bits390x | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat-devel-32bitx86_64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1aarch64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1ppc64le | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1s390x | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1x86_64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1-32bitaarch64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1-32bitppc64le | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1-32bits390x | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libexpat1-32bitx86_64 | Advisory build | 2.10.0-2.1 | OPENSUSE-SU-2026:12609-1 |
| Ubuntu | jammy | libexpat1 | Advisory build | 2.4.7-1ubuntu0.10 | USN-9196-1 |
| Ubuntu | noble | expat | Advisory build | 2.6.1-2ubuntu0.7 | USN-9196-1 |
| Ubuntu | noble | libexpat1 | Advisory build | 2.6.1-2ubuntu0.7 | USN-9196-1 |
| Ubuntu | resolute | expat | Advisory build | 2.7.4-1ubuntu0.3 | USN-9196-1 |
| Ubuntu | resolute | libexpat1 | Advisory build | 2.7.4-1ubuntu0.3 | USN-9196-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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libexpat project | libexpat | 0 through 2.10.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
5- 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
- VulnCheck Advisory: libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory https://www.vulncheck.com/advisories/libexpat-xmlwf-through-2.10.0-symlink-following-via-d-output-directory
Provider assertions
2VulnCheck · cna
libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 89df14894973b3f1e5710ec8cfd531bbd7b72b3a525c14eca6a5638e4b570418
- Ingested
- 17 Nov 2026, 13:25:10 UTC
- Source record
- Official CVE record