Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2023-37271

28
FAUCET Score

CVE-2023-37271 is a critical vulnerability in RestrictedPython, a tool used to sandbox Python code, affecting versions prior to 6.1 and 5.3. It allows an authenticated attacker to bypass the sandbox and achieve arbitrary code execution by manipulating stack frames within generators. With a CVSS score of 9.9 (Critical), this vulnerability poses a significant risk due to its low attack complexity and complete compromise of confidentiality, integrity, and availability. While no active exploitation, public exploit code, or significant community discussion has been observed, the potential impact is severe for deployments allowing untrusted users to execute Python code.

Impacted Technologies

VendorProductVersion(s)CPE
< 5.3CPE matchmatch criteria
cpe:2.3:a:zope:restrictedpython:*:*:*:*:*:*:*:*
6.0CPE matchmatch criteria
cpe:2.3:a:zope:restrictedpython:6.0:-:*:*:*:*:*:*
6.0CPE matchmatch criteria
cpe:2.3:a:zope:restrictedpython:6.0:a1.dev0:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.4HIGH

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
Exploitability Score
1.8
Impact Score
6.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.85%
Probability of exploitation in next 30 days
EPSS Percentile
54.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
This CVE's current EPSS score of 0.0085 is in the 60th percentile among its peer group of 1,124 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 1.0 Bluesky, 0.5 Mastodon, and 1.6 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (4)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: RestrictedPythonFixed in: 5.3
pippatch availablevia ghsa
Product: RestrictedPythonFixed in: 6.1
pippatch availablevia ghsa
Product: restrictedpythonFixed in: 5.3

Vendor Advisories (1)

pipGHSA-wqc8-x2pr-7jqhhigh

RestrictedPython vulnerable to arbitrary code execution via stack frame sandbox escape

Jul 10, 2023

References

github.com / zopefoundation/RestrictedPython/commit/c8eca66ae49081f0016d2e1f094c3d72095ef531
Patch
github.com / zopefoundation/RestrictedPython/security/advisories/GHSA-wqc8-x2pr-7jqh
Vendor Advisory