8.4

CVE-2026-76825: RestrictedPython: Sandbox escape via string.Formatter field resolution

Deferred
AliasesGHSA-hp3v-5vw7-fx9wPYSEC-2026-4161UBUNTU-CVE-2026-76825
Published 16-09-2026Last modified 16-09-2026

Vulnerability summary

CVE-2026-76825 is a high (CVSS 8.4) vulnerability in zopefoundation restrictedpython. EPSS estimates a 0.62% chance of exploitation in the next 30 days, higher than 49.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.62%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 16-09-2026
    PublishedVulnerability first disclosed.
  2. 16-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.62%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.62% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard1 product
  • open-webui< 0.11.3-r6
Debian1 product
  • restrictedpythonAll versions (No fix recorded) | < 8.4-1
PyPI1 product
  • restrictedpython< 8.4
Ubuntu1 product
  • restrictedpythonAll versions (No fix recorded)
Wolfi1 product
  • open-webui< 0.11.3-r6
Zopefoundation1 product

6 vendors · 6 products

References

11 links
Show all 11 references