


Perceptive Security
SOC/SIEM Consultancy

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…
Published:
7 juli 2026 om 22:00:00
Alert date:
8 juli 2026 om 23:02:56
Source:
nvd.nist.gov
Supply Chain & Dependencies, Security Tools, Web Technologies
CVE-2026-55830 is a security vulnerability in RestrictedPython, a tool designed to sandbox Python code execution in trusted environments. The flaw exists in the check_function_argument_names() function, which failed to validate positional-only arguments against protected guard hook names. This omission allowed attackers to shadow critical guard hooks such as __getattr__, _getitem_, _write_, or _print_ using local positional-only parameters. By exploiting this, an attacker could bypass the embedding application's access control and security policy. The vulnerability affects all versions of RestrictedPython prior to 8.3. A fix has been released in version 8.3, which extends the argument name validation to include positional-only arguments. The issue was disclosed via GitHub Security Advisories and patched in a referenced commit to the zopefoundation/RestrictedPython repository.
Technical details
Mitigation steps:
Affected products:
RestrictedPython
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-55830
https://github.com/zopefoundation/RestrictedPython/commit/3737596ec9f28c34a073cc845bd2f4c0a80cb671
https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-ffg3-p8fm-mjx2
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
