CVE-2026-55830 PUBLISHED

RestrictedPython guard hooks can be shadowed via positional-only arguments

Assigner: GitHub_M
Reserved: 17.06.2026 Published: 08.07.2026 Updated: 09.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L
CVSS Score: 8.3

Product Status

Vendor zopefoundation
Product RestrictedPython
Versions
  • Version < 8.3 is affected

References

Problem Types

  • CWE-184: Incomplete List of Disallowed Inputs CWE