Skip to content
OpenAdvisories
High ALAS2-2026-3297 1 CVE

Important: python-lxml security update (Amazon Linux 2)

Published May 11, 2026 · Updated May 13, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-41066: lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.

Fixed packages 4

ReleasePackageFixed in
Amazon Linux · 2 python-lxml 0:3.2.1-4.amzn2.0.8
Amazon Linux · 2 python-lxml-debuginfo 0:3.2.1-4.amzn2.0.8
Amazon Linux · 2 python-lxml-docs 0:3.2.1-4.amzn2.0.8
Amazon Linux · 2 python3-lxml 0:3.2.1-4.amzn2.0.8

Vulnerabilities 1

  • High 7.5

    lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

    lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-41066.html