Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2023-37271
zope restrictedpython

Score9.9 Critical
CVSS 3.1
Exploit probability (EPSS)1.1%
within the next 30 days
CategoryCode execution & injection
Published11 July 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

The impact can spread beyond the vulnerable component.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

RestrictedPython is a tool that helps to define a subset of the Python language which allows users to provide a program input into a trusted environment. RestrictedPython does not check access to stack frames and their attributes. Stack frames are accessible within at least generators and generator expressions, which are allowed inside RestrictedPython. Prior to versions 6.1 and 5.3, an attacker with access to a RestrictedPython environment can write code that gets the current stack frame in a generator and then walk the stack all the way beyond the RestrictedPython invocation boundary, thus breaking out of the restricted sandbox and potentially allowing arbitrary code execution in the Python interpreter. All RestrictedPython deployments that allow untrusted users to write Python code in the RestrictedPython environment are at risk. In terms of Zope and Plone, this would mean deployments where the administrator allows untrusted users to create and/or edit objects of type `Script (Python)`, `DTML Method`, `DTML Document` or `Zope Page Template`. This is a non-default configuration and likely to be extremely rare. The problem has been fixed in versions 6.1 and 5.3.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-913

Affected products

VendorProductVersions
zoperestrictedpython<5.3
zoperestrictedpython6.0

Sources

Latest in the same category

  • CVE-2026-139989 High 8.5
    Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to execute code by supplying a malicious Hugging Face model chat_template. Attackers who control a…
    Code execution & injection · 30 November 2026
  • CVE-2026-137186 High 8.7
    pluggedin-app is a self-hostable web interface for managing Model Context Protocol servers. Prior to 4.0.0, an authenticated user adding a STDIO MCP server can supply crafted args that PackageManager.transformCommand()…
    Code execution & injection · 30 November 2026
  • CVE-2026-137185 High 7.3
    Code Graph RAG is an AI-powered knowledge graph and retrieval system for querying, understanding, and editing multi-language codebases. In 0.0.844 and earlier, execute_shell_command in…
    Code execution & injection · 30 November 2026
  • CVE-2026-138669 Low 2.1
    A vulnerability was found in SourceCodester CET-Tally System 1.0. This vulnerability affects the function export_leaderboard of the file index.php of the component Leaderboard CSV Export. The manipulation of the…
    Code execution & injection · 30 November 2026
  • CVE-2026-137180 Critical 9.9
    Breeze is an open source IT platform combining remote monitoring and management, professional services automation, and a governed AI operator. Prior to 0.115.0, the Breeze agent replaced {{param}} placeholders with raw…
    Code execution & injection · 30 November 2026
  • CVE-2026-138668 Low 2
    A vulnerability has been found in youseries UReport up to 2.2.9. This affects the function buildTable of the file ureport2-core/src/main/java/com/bstek/ureport/export/html/HtmlProducer.java of the component…
    Code execution & injection · 30 November 2026