python-lupa — security advisory
Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. In 2.6 and earlier, attribute_filter is not consistently applied when attributes are accessed through built-in functions like getattr and setattr. This allows an attacker to bypass the intended restrictions and eventually achieve arbitrary code execution.
- Products
- python-lupa
- Affected versions
- 1.10+dfsg-1, 1.10+dfsg-1build1, 1.14.1+dfsg-1build1, 1.14.1+dfsg-1build2, 1.14.1+dfsg-1build3, 1.5+dfsg-1, 1.6+dfsg-1, 1.6+dfsg-4, 1.6+dfsg-4build1, 1.9+dfsg-1, 1.9+dfsg-1build1, 1.9+dfsg-1build3, 2.4+dfsg-1build1, 2.4+dfsg-1build2, 2.4+dfsg-1build3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-34444
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:00 UTC · Revision 1
Source evidence
Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. In 2.6 and earlier, attribute_filter is not consistently applied when attributes are accessed through built-in functions like getattr and setattr. This allows an attacker to bypass the intended restrictions and eventually achieve arbitrary code execution.
osv:UBUNTU-CVE-2026-34444
python-lupa
Fixed versions: Not specified
python-lupa
Fixed versions: Not specified
python-lupa
Fixed versions: Not specified
python-lupa
Fixed versions: Not specified
python-lupa
Fixed versions: Not specified
python-lupa
Fixed versions: Not specified
python-lupa
Fixed versions: Not specified
Complete source record
{
"id": "dde5a2b9a3c0b4bce0421a5c1f8c3d6bf2c82e622eba8b3ee30137c1930084bc",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-34444",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-34444",
"summary": "Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. In 2.6 and earlier, attribute_filter is not consistently applied when attributes are accessed through built-in functions like getattr and setattr. This allows an attacker to bypass the intended restrictions and eventually achieve arbitrary code execution.",
"evidence": "osv:UBUNTU-CVE-2026-34444",
"products": [
{
"name": {
"value": "python-lupa",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.5+dfsg-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.6+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-lupa",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6+dfsg-4",
"evidence": "/affected/1/versions"
},
{
"value": "1.6+dfsg-4build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.9+dfsg-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.9+dfsg-1build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-lupa",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.9+dfsg-1build3",
"evidence": "/affected/2/versions"
},
{
"value": "1.10+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.10+dfsg-1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "python-lupa",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.14.1+dfsg-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.14.1+dfsg-1build2",
"evidence": "/affected/3/versions"
},
{
"value": "1.14.1+dfsg-1build3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "python-lupa",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4+dfsg-1build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "python-lupa",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4+dfsg-1build3",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "python-lupa",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.4+dfsg-1build1",
"evidence": "/affected/6/versions"
},
{
"value": "2.4+dfsg-1build2",
"evidence": "/affected/6/versions"
},
{
"value": "2.4+dfsg-1build3",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-34444",
"aliases": [
"UBUNTU-CVE-2026-34444"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.5+dfsg-1",
"1.6+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "1.6+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.6+dfsg-4",
"1.6+dfsg-4build1",
"1.9+dfsg-1",
"1.9+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "1.9+dfsg-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.9+dfsg-1build3",
"1.10+dfsg-1",
"1.10+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "1.10+dfsg-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.14.1+dfsg-1build1",
"1.14.1+dfsg-1build2",
"1.14.1+dfsg-1build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "1.14.1+dfsg-1build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.4+dfsg-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "2.4+dfsg-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.4+dfsg-1build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "2.4+dfsg-1build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-lupa",
"purl": "pkg:deb/ubuntu/python-lupa?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.4+dfsg-1build1",
"2.4+dfsg-1build2",
"2.4+dfsg-1build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-34444.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-lupa",
"binary_version": "2.4+dfsg-1build3"
}
]
}
}
],
"modified": "2026-10-17T13:00:01.503005164Z",
"provider": "osv",
"upstream": [
"CVE-2026-34444"
],
"references": [
"https://ubuntu.com/security/CVE-2026-34444",
"https://www.cve.org/CVERecord?id=CVE-2026-34444",
"https://github.com/scoder/lupa/security/advisories/GHSA-69v7-xpr6-6gjm"
]
},
"related_cves": [
{
"value": "CVE-2026-34444",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/2/score"
},
"source_id": "core-osv",
"document_id": 360143,
"published_at": "2026-04-06T16:16:00+00:00"
}