Bug 2590733 - CVE-2026-128241 expatpp: libexpat xmlwf through 2.10.0 Symlink Following via -d Output Directory [fedora-all]
Summary: CVE-2026-128241 expatpp: libexpat xmlwf through 2.10.0 Symlink Following via ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: expatpp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b4ace9f9-f445-4679-8f56-e...
Depends On:
Blocks: CVE-2026-128241
TreeView+ depends on / blocked
 
Reported: 2026-12-04 05:57 UTC by Avinash Hanwate
Modified: 2026-12-04 10:23 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-12-04 10:23:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Avinash Hanwate 2026-12-04 05:57:29 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Peter Lemenkov 2026-12-04 10:23:25 UTC
Fedora's expatpp is not affected by CVE-2026-128241.

The flaw is in the xmlwf CLI tool shipped by libexpat (the expat package): its -d output mode opens files with fopen("wb"), which follows symlinks, allowing a local attacker with write access to the output directory to truncate/overwrite files via a planted symlink.

expatpp is only a thin C++ wrapper around expat. It ships just the wrapper shared library (%{_libdir}/*.so.*) and the expatpp.h header, builds against the system expat (BuildRequires: expat-devel), and does not bundle or ship xmlwf (nor any expat source). The vulnerable tool is therefore not present in this package.

The fix belongs to the expat package (tracked separately in bug 2573051). No expatpp change is required.

Closing as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.