CVE-2026-128241
Awaiting Analysis Awaiting Analysis - Queue

xmlwf Symlink Following Vulnerability in libexpat

Vulnerability report for CVE-2026-128241, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libexpat project libexpat From 0 (inc) to 2.10.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a symlink following issue in the xmlwf tool of libexpat through version 2.10.0. When using the -d output mode, xmlwf opens files with fopen('wb'), which follows symbolic links. Local attackers with write access to the output directory can create a symlink at the expected output filename to truncate or overwrite files writable by the xmlwf user.

Detection Guidance

Check if xmlwf is installed and its version. Run 'xmlwf -v' to see the version. If it is version 2.10.0 or earlier, the system is vulnerable. Also, review file permissions in directories where xmlwf writes output to detect suspicious symlinks.

Impact Analysis

If you use xmlwf with the -d option on a system where an attacker has write access to the output directory, they could overwrite or truncate files that the xmlwf process has permission to modify. This could lead to data loss or corruption for files owned by the xmlwf user.

Compliance Impact

This vulnerability could impact compliance by potentially allowing unauthorized file modifications, which may violate integrity requirements in GDPR or HIPAA. If sensitive files are overwritten, it could lead to data breaches or loss of audit integrity.

Mitigation Strategies

Upgrade libexpat to version 2.11.0 or later. Avoid using the -d output mode in xmlwf until patched. Restrict write access to directories where xmlwf outputs files to prevent symlink creation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-128241. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...