Skip to content
NewA calmer, faster ZeroHour

CVE-2026-128241

Symlink following in libexpat xmlwf -d output mode

CVSS 4.0
4.1 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-128241 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

xmlwf in libexpat through 2.10.0 follows symbolic links because -d output mode opens files with fopen("wb"). A local attacker who can write to the output directory can plant a symlink at the expected output name. When a user runs xmlwf, that can truncate or overwrite files writable by the xmlwf user. Anyone using affected xmlwf in that mode is affected.

What to do: Upgrade libexpat to 2.11.0, which fixes this issue. No workaround is stated.

ProductAffectedFixed in
libexpat xmlwfthrough 2.10.02.11.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-59
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

1 story