CVE-2026-55830: RestrictedPython guard hooks can be shadowed via positional-only arguments

Published Jul 8, 2026
·
Updated

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, checkfunctionargumentnames() 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.

Affected Software

1 affected component
RestrictedPython RestrictedPython<8.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.3

Event History

Jul 8, 2026
CVE Published
via MITRE·09:16 PM
Data Sourced
via MITRE·09:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-55830?

CVE-2026-55830 has a severity rating of 8.3, categorized as high risk.

2

How do I fix CVE-2026-55830?

To fix CVE-2026-55830, upgrade to version 8.3 or later of RestrictedPython.

3

What are the potential impacts of CVE-2026-55830?

CVE-2026-55830 may allow unauthorized access to protected guard hook names, which poses a security risk.

4

What software is affected by CVE-2026-55830?

CVE-2026-55830 affects the RestrictedPython library.

5

When was CVE-2026-55830 published?

CVE-2026-55830 was published on July 8, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203