Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-76825 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

RestrictedPython is a tool that helps define a subset of the Python language for accepting program input in a trusted environment. Prior to 8.4, RestrictedPython could allow a sandbox escape when a custom import policy or globals exposed the standard library string module, the string.Formatter class, a Formatter instance, or a Formatter subclass to restricted code. The string.Formatter methods format, get_field, get_value, and vformat performed attribute and item traversal internally without passing through RestrictedPython's safer_getattr protections. Restricted code could use those live object references to reach function globals, builtins, file access, or code execution primitives, affecting confidentiality, integrity, and availability in the host environment. This issue is fixed in version 8.4.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-200Exposure of Sensitive Information to an Unauthorized Actor[email protected]
CWE-470Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')[email protected]
CWE-680Integer Overflow to Buffer Overflow[email protected]
CWE-693Protection Mechanism Failure[email protected]

Affected Products

ProductVersions
RestrictedPython
< 8.4

CPE

  • cpe:2.3:a:zope:restrictedpython:*:*:*:*:*:*:*:*

Remediation

  • Upgrade: 8.4moderate efforthttps://github.com/zopefoundation/RestrictedPython/releases/tag/8.4
  • Mitigation:low effort

    Do not expose the standard library string module or string.Formatter to restricted code. If a custom import hook is used, deny imports of string or provide only a restricted wrapper that does not expose Formatter. If custom globals are supplied, ensure neither string.Formatter nor Formatter instances are available to restricted code.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-76825
NVD Published Date:
Sep 16, 2026
NVD Last Modified:
Sep 16, 2026
Source:
[email protected]
CVE-2026-76825 Details - Not Deferred