Advisory

USN-8897-1

Also known as: CVE-2026-41066, CVE-2026-49825

Summary

lxml vulnerabilities

Details

Guillem Lefait discovered that lxml incorrectly handled certain URL
attributes. A remote attacker could possibly use this issue to bypass
URL sanitization, leading to a cross-site scripting attack.
(CVE-2026-49825)

Qiu Sihao discovered that lxml incorrectly handled untrusted XML input.
A remote attacker could possibly use this issue to read local files and
expose sensitive information. This issue was only addressed in Ubuntu 24.04
LTS and Ubuntu 26.04 LTS. (CVE-2026-41066)

Severity

Not rated by the source.

Dates

Published
2026-10-07 16:13 UTC
Modified
2026-10-08 19:58 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 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