restrictedpython — security advisory
RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.
- Products
- restrictedpython
- Affected versions
- 4.0~b3-3, 6.2-1, 8.0-1, 8.1-1, 8.4-1
- Fixed versions
- 8.4-1
- CVEs
- CVE-2026-55830
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:17 UTC · Revision 2
Source evidence
RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.
osv:DEBIAN-CVE-2026-55830
restrictedpython
Fixed versions: Not specified
restrictedpython
Fixed versions: Not specified
restrictedpython
Fixed versions: 8.4-1
Complete source record
{
"id": "470bafa6206ceca8a9a6b5cc4c57ad152954a4245a490b5fc664f20989c4f03e",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-55830",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-55830",
"summary": "RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.",
"evidence": "osv:DEBIAN-CVE-2026-55830",
"products": [
{
"name": {
"value": "restrictedpython",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0~b3-3",
"evidence": "/affected/0/versions"
},
{
"value": "6.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.4-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "restrictedpython",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "8.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "8.4-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "restrictedpython",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.4-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "8.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "8.1-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-55830",
"aliases": [
"DEBIAN-CVE-2026-55830"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "restrictedpython",
"purl": "pkg:deb/debian/restrictedpython?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"4.0~b3-3",
"6.2-1",
"8.0-1",
"8.1-1",
"8.4-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-55830.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "restrictedpython",
"purl": "pkg:deb/debian/restrictedpython?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"8.0-1",
"8.1-1",
"8.4-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-55830.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.4-1"
}
]
}
],
"package": {
"name": "restrictedpython",
"purl": "pkg:deb/debian/restrictedpython?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"8.0-1",
"8.1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-55830.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T11:47:26.132852464Z",
"provider": "osv",
"upstream": [
"CVE-2026-55830"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-55830"
]
},
"related_cves": [
{
"value": "CVE-2026-55830",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 450774,
"published_at": "2026-07-08T22:17:15.653+00:00"
}