Skip to content

GHSA-vfmq-68hx-4jfw on Cyberus Linux 26.05

Aliases: GHSA-vfmq-68hx-4jfw, CVE-2026-41066

Packages: python3Packages.lxml

Status: Plausible

Advisory Information

Impact

Using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files.

Patches

lxml 6.1 changes the default to resolve_entities='internal', thus disallowing local file access by default.

Workarounds

Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access.

References

Original report: https://bugs.launchpad.net/lxml/+bug/2146291

The default option was changed to resolve_entities='internal' for the normal XML and HTML parsers in lxml 5.0. The default was not changed for iterparse() and ETCompatXMLParser() at the time. lxml 6.1 makes the safe option the default for all parsers.

Updates

2026-09-25 18:10 CEST

Metadata changes:

  • Status for package python3Packages.lxml: “Plausible”

2026-09-25 17:55 CEST

Metadata changes:

  • Status for package python3Packages.lxml: “New”