CVE-2026-76825CWE-200CWE-470CWE-680CWE-693information-disclosure

CVE-2026-76825

High · published September 16, 2026

CVSS v3.1
8.4
EPSS
1%
Percentile
49.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00624 · 49.3th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection'); CWE-680 · Integer Overflow to Buffer Overflow; CWE-693 · Protection Mechanism Failure
Published
2026-09-16T19:17Z
References (3)
EPSS history
Timeline
  • 18 SEP 04:01Z
    EPSS moved — → 1%
    epss
  • 16 SEP 14:09Z
    RestrictedPython: Sandbox escape via string.Formatter field resolution
    cvelistv5