Advisory

UBUNTU-CVE-2026-41066

Also known as: CVE-2026-41066

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-04-24 17:16 UTC
Modified
2026-10-08 19:47 UTC

Affected packages and fixes

lxml

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 4.8.0-1ubuntu0.1 (ecosystem)

Fixed versions

4.8.0-1ubuntu0.1

Fix

  • Fixed version 4.8.0-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxml

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 5.2.1-1ubuntu0.2 (ecosystem)

Fixed versions

5.2.1-1ubuntu0.2

Fix

  • Fixed version 5.2.1-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxml

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

lxml

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 6.0.2-1ubuntu0.1 (ecosystem)

Fixed versions

6.0.2-1ubuntu0.1

Fix

  • Fixed version 6.0.2-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences