Restrictedpython
Approved changes feed: RSS · Atom
cpe:2.3:a:zopefoundation:restrictedpython:*:*:*:*:*:*:*:*part: a version: * update: *
| Vendor | Zopefoundation (93d81e3e-996e-5c6f-8e95-eaedc999fd2f) |
|---|---|
| Product | Restrictedpython (a9076c26-68dd-5336-a59c-cae980c7f7e6) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from gcve-enriched-dumps CVE data
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-76825 |
vulnerable | 2026-10-13 12:28:36.549026 |
RestrictedPython: Sandbox escape via string.Formatter field resolution
HIGH (8.4)
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.
Published: 2026-09-16T14:09:28.795Z
Updated: 2026-09-16T18:35:53.779Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-55830 |
vulnerable | 2026-07-29 01:00:28.648065 |
RestrictedPython guard hooks can be shadowed via positional-only arguments
HIGH (8.3)
RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.
Published: 2026-07-08T21:16:36.200Z
Updated: 2026-07-09T13:46:21.968Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2025-22153 |
vulnerable | 2026-06-08 07:10:52.275291 |
try/except* clauses could allow bypass RestrictedPython via type confusion bug in the CPython interpreter
HIGH (7.9)
RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Via a type confusion bug in versions of the CPython interpreter starting in 3.11 and prior to 3.13.2 when using `try/except*`, RestrictedPython starting in version 6.0 and prior to version 8.0 could be bypassed. The issue is patched in version 8.0 of RestrictedPython by removing support for `try/except*` clauses. No known workarounds are available.
Published: 2025-01-23T17:34:27.056Z
Updated: 2025-02-12T20:41:29.946Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2024-47532 |
vulnerable | 2026-06-08 06:48:12.533565 |
RestrictedPython information leakage via `AttributeError.obj` and the `string` module
RestrictedPython is a restricted execution environment for Python to run untrusted code. A user can gain access to protected (and potentially sensible) information indirectly via AttributeError.obj and the string module. The problem will be fixed in version 7.3. As a workaround, If the application does not require access to the module string, it can remove it from RestrictedPython.Utilities.utility_builtins or otherwise do not make it available in the restricted execution environment.
Published: 2024-09-30T15:29:57.907Z
Updated: 2024-09-30T17:29:29.522Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-41039 |
vulnerable | 2026-06-08 06:11:04.882857 |
Sandbox escape via various forms of "format" in RestrictedPython
HIGH (8.3)
RestrictedPython is a restricted execution environment for Python to run untrusted code. Python's "format" functionality allows someone controlling the format string to "read" all objects accessible through recursive attribute lookup and subscription from objects he can access. This can lead to critical information disclosure. With `RestrictedPython`, the format functionality is available via the `format` and `format_map` methods of `str` (and `unicode`) (accessed either via the class or its instances) and via `string.Formatter`. All known versions of `RestrictedPython` are vulnerable. This issue has been addressed in commit `4134aedcff1` which has been included in the 5.4 and 6.2 releases. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Published: 2023-08-30T17:18:56.168Z
Updated: 2024-10-01T18:16:40.852Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-37271 |
vulnerable | 2026-06-08 06:08:15.049571 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.