Skip to content
OpenAdvisories
High ALAS2023-2026-1678 1 CVE

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

Published May 11, 2026 · Updated May 13, 2026

Summary

Package updates are available for Amazon Linux 2023 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 3

ReleasePackageFixed in
Amazon Linux · 2023 python-lxml-debugsource 0:4.7.1-3.amzn2023.0.3
Amazon Linux · 2023 python3-lxml 0:4.7.1-3.amzn2023.0.3
Amazon Linux · 2023 python3-lxml-debuginfo 0:4.7.1-3.amzn2023.0.3

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