HIGH 8.3 GitHub

CVE-2026-55830

RestrictedPython guard hooks can be shadowed via positional-only arguments

### Impact RestrictedPython rewrites sensitive operations to go through guard hooks. Attribute access becomes `_getattr_(obj, name)`, item access becomes `_getitem_(obj, key)`, writes go through `_write_`, and print goes through `_print_`. The embedding application supplies these hooks to enforce its policy. Argument-name validation rejects these protected names for regular arguments, `*args`, `**kwargs`, and keyword-only arguments, but it misses positional-only arguments (the ones before `/`)

Affected Products

References

Published: 2026-08-28 · Source: GitHub · Feed updated: 2026-08-29
This high severity vulnerability with a CVSS score of 8.3 was published on 2026-08-28 via GitHub. Affected: pip/RestrictedPython <= 8.2.
vulnfeed aggregates 11507 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.