ADVISORIES

Amazon Linux Security Advisory

ALAS2-2026-3297

Amazon Linux 2 2017.12 - ALAS2-2026-3297: important priority package update for python-lxml

Important CVE-2026-41066

Details

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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python-lxml
All versions before 3.2.1-4.amzn2.0.8 (fixed in 3.2.1-4.amzn2.0.8)
Amazon Linux:2python-lxml-debuginfo
All versions before 3.2.1-4.amzn2.0.8 (fixed in 3.2.1-4.amzn2.0.8)
Amazon Linux:2python-lxml-docs
All versions before 3.2.1-4.amzn2.0.8 (fixed in 3.2.1-4.amzn2.0.8)
Amazon Linux:2python3-lxml
All versions before 3.2.1-4.amzn2.0.8 (fixed in 3.2.1-4.amzn2.0.8)

References