CVE-2026-55830
published high CVSS 3.1 · 8.3RestrictedPython guard hooks can be shadowed via positional-only arguments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zopefoundation | — | RestrictedPython< 8.3 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zopefoundation | RestrictedPython | < 8.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-184 CWE-184: Incomplete List of Disallowed Inputs
References
2Provider assertions
2GitHub_M · cna
RestrictedPython guard hooks can be shadowed via positional-only arguments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c1cc85e2360faa56e1ed5d685d678a08febad2e594a62d1cdb46bd7d3a1b038d
- Ingested
- 23 Sep 2026, 09:21:01 UTC
- Source record
- Official CVE record