CISA list

● PyPI package

restrictedpython

Restrictedpython has six security advisories. The newest release any of them names as the fix is 8.4.

As of , restrictedpython has six security advisories. The newest release any of them names as the fix is 8.4.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 8.48.46 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-76825GHSA-hp3v-5vw7-fx9w, PYSEC-2026-4161RestrictedPython vulnerable to sandbox escape via string.Formatter field resolutionHigh severityBefore 8.48.4
CVE-2026-55830GHSA-ffg3-p8fm-mjx2, PYSEC-2026-3917RestrictedPython guard hooks can be shadowed via positional-only argumentsHigh severityBefore 8.38.3
CVE-2025-22153GHSA-gmj9-h825-chq2, PYSEC-2026-1874try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreterHigh severityFrom 6.0 before 8.08.0
CVE-2024-47532GHSA-5rfv-66g4-jr8h, PYSEC-2024-186RestrictedPython information leakage via `AttributeError.obj` and the `string` moduleHigh severityBefore 7.37.3
CVE-2023-41039GHSA-xjw2-6jm9-rf67, PYSEC-2023-159Sandbox escape via various forms of "format".High severityFrom 6.0 before 6.2; Before 5.45.4, 6.2
CVE-2023-37271GHSA-wqc8-x2pr-7jqh, PYSEC-2023-118RestrictedPython vulnerable to arbitrary code execution via stack frame sandbox escapeHigh severityFrom 6.0a1.dev0 before 6.1; Before 5.35.3, 6.1

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0