Link Following Affecting expat package, versions <2.11.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.15% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-EXPAT-22989756
  • published26 Nov 2026
  • disclosed13 Nov 2026

Introduced: 13 Nov 2026

NewCVE-2026-128241  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Chainguard expat to version 2.11.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream expat package and not the expat package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 Base Scores

version 3.1