USN-8897-1 (UBUNTU-CVE-2026-41066)
Vulnerability from osv_ubuntu – Published: 2026-10-07 16:13 – Updated: 2026-10-07 16:13 – Source websiteGuillem 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)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "python-lxml",
"binary_version": "3.3.3-1ubuntu0.2+esm6"
},
{
"binary_name": "python3-lxml",
"binary_version": "3.3.3-1ubuntu0.2+esm6"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@3.3.3-1ubuntu0.2+esm6?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.3.3-1ubuntu0.2+esm6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.2.0-1",
"3.3.0~beta2-1",
"3.3.0~beta4-1",
"3.3.1-1",
"3.3.2-1",
"3.3.2-1build1",
"3.3.3-1",
"3.3.3-1ubuntu0.1",
"3.3.3-1ubuntu0.2",
"3.3.3-1ubuntu0.2+esm1",
"3.3.3-1ubuntu0.2+esm2",
"3.3.3-1ubuntu0.2+esm3",
"3.3.3-1ubuntu0.2+esm5"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "python-lxml",
"binary_version": "3.5.0-1ubuntu0.4+esm3"
},
{
"binary_name": "python3-lxml",
"binary_version": "3.5.0-1ubuntu0.4+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@3.5.0-1ubuntu0.4+esm3?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.0-1ubuntu0.4+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.4-1",
"3.5.0-1",
"3.5.0-1build1",
"3.5.0-1ubuntu0.1",
"3.5.0-1ubuntu0.2",
"3.5.0-1ubuntu0.3",
"3.5.0-1ubuntu0.4",
"3.5.0-1ubuntu0.4+esm2"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:18.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "python-lxml",
"binary_version": "4.2.1-1ubuntu0.6+esm1"
},
{
"binary_name": "python3-lxml",
"binary_version": "4.2.1-1ubuntu0.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@4.2.1-1ubuntu0.6+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.2.1-1ubuntu0.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.0-1",
"4.1.0-1",
"4.2.0-1",
"4.2.1-1",
"4.2.1-1ubuntu0.1",
"4.2.1-1ubuntu0.2",
"4.2.1-1ubuntu0.3",
"4.2.1-1ubuntu0.4",
"4.2.1-1ubuntu0.6"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:20.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "python-lxml",
"binary_version": "4.5.0-1ubuntu0.5+esm1"
},
{
"binary_name": "python3-lxml",
"binary_version": "4.5.0-1ubuntu0.5+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@4.5.0-1ubuntu0.5+esm1?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.5.0-1ubuntu0.5+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.4.1-1",
"4.4.1-1build1",
"4.4.2-1",
"4.5.0-1",
"4.5.0-1ubuntu0.1",
"4.5.0-1ubuntu0.2",
"4.5.0-1ubuntu0.3",
"4.5.0-1ubuntu0.5"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-lxml",
"binary_version": "4.8.0-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@4.8.0-1ubuntu0.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.8.0-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.6.3+dfsg-0.1",
"4.6.4-1",
"4.6.4-1ubuntu1",
"4.7.1-1",
"4.8.0-1",
"4.8.0-1build1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:24.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-lxml",
"binary_version": "5.2.1-1ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@5.2.1-1ubuntu0.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2.1-1ubuntu0.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.9.3-1",
"4.9.3-1build1",
"4.9.4-1",
"5.1.0-1",
"5.1.0-1build1",
"5.1.0-1build2",
"5.2.1-1"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2026-41066",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2026-49825",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:26.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python3-lxml",
"binary_version": "6.0.2-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "lxml",
"purl": "pkg:deb/ubuntu/lxml@6.0.2-1ubuntu0.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.0.2-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.0.1-1",
"6.0.1-1build1",
"6.0.2-1",
"6.0.2-1build1"
]
}
],
"aliases": [],
"details": "Guillem Lefait discovered that lxml incorrectly handled certain URL\nattributes. A remote attacker could possibly use this issue to bypass\nURL sanitization, leading to a cross-site scripting attack.\n(CVE-2026-49825)\n\nQiu Sihao discovered that lxml incorrectly handled untrusted XML input.\nA remote attacker could possibly use this issue to read local files and\nexpose sensitive information. This issue was only addressed in Ubuntu 24.04\nLTS and Ubuntu 26.04 LTS. (CVE-2026-41066)",
"id": "USN-8897-1",
"modified": "2026-10-07T16:13:52Z",
"published": "2026-10-07T16:13:52Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-8897-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-41066"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-49825"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "lxml vulnerabilities",
"upstream": [
"UBUNTU-CVE-2026-41066",
"UBUNTU-CVE-2026-49825"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.