PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-128241 libexpat project CVE debrief

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. This vulnerability allows for potential data loss or corruption, emphasizing the need for careful handling of output directories and permissions. Defenders should assess exposure and prioritize remediation based on the sensitivity of the data handled by xmlwf.

Vendor
libexpat project
Product
libexpat
CVSS
MEDIUM 4.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-13
Original CVE updated
2026-11-17
Advisory published
2026-11-13
Advisory updated
2026-11-17

Who should care

Defenders responsible for systems and applications using xmlwf, especially those with write access to output directories, should assess exposure and prioritize remediation. This includes operators, platform administrators, and security teams who manage systems that utilize xmlwf for processing. Ensuring secure configurations and timely remediation are critical to mitigating potential risks associated with this vulnerability.

Why it matters

The xmlwf symlink following vulnerability in libexpat through 2.10.0 allows local attackers to truncate or overwrite files. Defenders should assess exposure, prioritize remediation, and verify affected versions and remediation status.

  • Local attackers can truncate or overwrite files writable by the xmlwf user
  • Requires verification of affected versions and remediation status

Technical summary

The xmlwf tool in libexpat through 2.10.0 is vulnerable to a symlink following attack when using the -d output mode. This mode opens files with fopen('wb'), which follows symbolic links. An attacker with write access to the output directory can create a symlink at the expected output name to truncate or overwrite files writable by the xmlwf user. This vulnerability can lead to data loss or corruption, highlighting the importance of securing output directories and ensuring proper permissions are in place. Defenders should assess exposure and prioritize remediation based on the sensitivity of the data handled by xmlwf.

Defensive priority

Assess exposure and prioritize remediation for xmlwf users and systems with write access to output directories.

Recommended defensive actions

  • Assess xmlwf usage and output directory permissions
  • Verify and restrict write access to output directories
  • Consider upgrading to a fixed version of libexpat
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is in the xmlwf tool of libexpat through 2.10.0. The -d output mode is vulnerable to symlink following. Local attackers with write access to the output directory can exploit this to truncate or overwrite files. Evidence of this vulnerability's existence comes from the source advisory and CVE record. Further verification is needed to confirm affected versions and remediation status.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-128241 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-128241

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-128241 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-128241

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.