Skip to main content
← All vulnerabilities
CVE-2026-55830PYSEC-2026-3917GHSA-FFG3-P8FM-MJX2

RestrictedPython guard hooks can be shadowed via positional-only arguments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • zopefoundation RestrictedPython

    fixed in 8.3

  • restrictedpythonPyPI

    fixed in 8.3

References 2

GitHub · zopefoundation/RestrictedPython