CVE-2026-55830
HIGHRestrictedPython guard hooks can be shadowed via positional-only arguments
Title source: cnaDescription
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.
References (2)
Core 2
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-ffg3-p8fm-mjx2
X_Refsource_Misc x_refsource_misc
https://github.com/zopefoundation/RestrictedPython/commit/3737596ec9f28c34a073cc845bd2f4c0a80cb671
Scores
CVSS v3
8.3
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
Details
CWE
CWE-184
Status
published
Products (1)
zopefoundation/RestrictedPython
< 8.3
Published
Jul 08, 2026
Tracked Since
Jul 09, 2026