Skip to main content

Zope AccessControl EUVDEUVD-2026-80790

| CVE-2026-77401 MEDIUM
Protection Mechanism Failure (CWE-693)
2026-09-16 GitHub_M GHSA-pq59-9fq7-m886
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain restricted-code authoring rights
  2. Delivery
    Submit restricted Python using str subclass
  3. Exploit
    Invoke format/format_map with crafted field spec
  4. Execution
    Bypass policy getattr/getitem via str subclass
  5. Impact
    Disclose sandbox-external objects

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Requires a deployment that lets untrusted users create and execute AccessControl-controlled Python code (RestrictedPython / through-the-web scripting), and the attacker must already hold that code-authoring privilege (PR:H). The attack works by reaching str.format or str.format_map through a str subclass, which pre-7.4 bypassed the policy-restricted getattr/getitem guards. Limiting factors: applications that do NOT expose restricted-code authorship to untrusted parties are not exploitable; impact is confined to information disclosure of objects reachable from formatting values (no code execution, no integrity/availability impact). Affects zopefoundation AccessControl versions prior to 7.4; fixed in 7.4.

Impact

This is a genuine but access-gated sandbox-escape/information-disclosure flaw, not a mass-exploitation priority. The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N = 6.8) is well-calibrated: network-reachable and low-complexity, but PR:H because exploitation requires an attacker who is already an untrusted user permitted to create and execute AccessControl-controlled (RestrictedPython / through-the-web) code - a meaningful precondition that most Zope/Plone deployments do NOT grant to untrusted parties. The scope change (S:C) is justified: a controlled format string escapes the security sandbox to reach objects outside it. Impact is confidentiality-only (C:H, I:N, A:N) - it discloses reachable objects, not code execution or write access. No EPSS score, no CISA KEV listing, and no public POC were provided; per precision rules this is 'no public exploit identified at time of analysis.' CWE-693 (Protection Mechanism Failure) accurately captures that a guard was bypassed rather than a memory-safety bug. Net: real for anyone offering TTW scripting to untrusted users, but low urgency for the typical deployment where restricted-code authorship is limited to trusted admins.

Exploit ScenarioDerived

A Zope/Plone application permits untrusted users to author and run AccessControl-restricted Python (through-the-web scripting). The attacker submits restricted code that builds a str subclass instance and invokes its format/format_map with a payload like '{0.__class__.__init__.__globals__}', which resolves attributes via unrestricted getattr/getitem and leaks objects outside the sandbox. No public exploit code was identified at time of analysis, but the fix's own test (X('{0.__class__}')) illustrates the exact technique.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Information disclosure in Zope AccessControl (zopefoundation AccessControl) versions prior to 7.4 allows authenticated users who already hold through-the-web Python code-authoring privileges to break out of the restricted-execution sandbox and read objects that the security policy is supposed to hide. Reaching str.format or str.format_map through a str subclass bypasses AccessControl's policy-restricted getattr and getitem guards, so a crafted format string can recursively walk attributes and subscriptions to disclose objects reachable from the values available to the formatting call. The impact is confined to confidentiality (CVSS 6.8, C:H with no integrity or availability impact); Vendor-released patch: 7.4, and no public exploit identified at time of analysis.

RemediationAI

Upgrade to AccessControl 7.4 or later (for example 'pip install -U "AccessControl>=7.4"'), which is the vendor-released patch containing commit f980450eea416718be62847f34dfd51822938e43; consult https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886 and https://github.com/zopefoundation/AccessControl/releases/tag/7.4 for the authoritative fix details. If an immediate upgrade is not possible, the decisive compensating control is to stop exposing restricted-code authorship to untrusted parties: remove or tightly restrict the roles and permissions that allow creating and executing AccessControl-controlled Python code (TTW Python Scripts, restricted Page Template expressions, and similar sandboxed scripting), accepting the functional trade-off that legitimate script authors lose that capability or must submit code for administrative review, and audit existing persisted scripts for crafted format strings using str subclasses, since the pre-7.4 sandbox cannot be made safe while untrusted code execution remains enabled. Be aware that defensively blocking or asserting away str.format / str.format_map for RestrictedPython code can break existing templates and scripts that rely on ordinary string formatting, so such a workaround should be deployed as a targeted policy restriction rather than a blanket ban, and verified against production content first.

Affected VersionsENISA

AccessControl < 7.4

Affected Packages

pypi accesscontrol fix: 7.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AccessControl is the security framework underpinning Zope / RestrictedPython deployments: it replaces built-in attribute and item access with policy-aware versions (guarded_getattr / guarded_getitem) implemented twice, once in pure Python (src/AccessControl/ImplPython.py) and once in C (src/AccessControl/cAccessControl.c), and consults an assertion table (ContainerAssertions) to decide which attributes may be touched. The root cause is a protection mechanism failure (CWE-693): str.format and str.format_map invoke CPython's own formatting engine, which resolves format fields such as {0.__class__} using unrestricted getattr and getitem rather than the guarded operations, and pre-7.4 AccessControl never intercepted these two names when they were obtained from a str subclass instead of a plain str. Commit f980450eea416718be62847f34dfd51822938e43 closes the gap by special-casing the names 'format' and 'format_map' inside guarded_getattr: for str instances it dispatches to the SafeFormatter helpers safe_format / safe_format_map, and for a class that is str or a str subclass it raises Unauthorized outright, with the C implementation additionally routing through the PyUnicode_Type entry of ContainerAssertions. Accompanying tests (testZopeGuards.py) confirm that X('{0.__class__}').format and '{foo.__class__}'.format_map on a str subclass now raise Unauthorized, illustrating exactly the attribute-traversal vector the fix removes.

Know when Zope gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
vuln.today AI 6.8 MEDIUM

PR:H because the attacker must already be permitted to author/run restricted Python; S:C for the sandbox escape; C:H info disclosure only, so I:N/A:N.

3.1 AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Sep 16, 2026 - 15:18 EUVD

DescriptionCVE.org

Zope AccessControl provides a general security framework for use in Zope. Prior to 7.4, applications that allow untrusted users to create and execute AccessControl-controlled Python code do not safely guard str.format and str.format_map when those methods are reached through a str subclass. In both ImplPython.py and cAccessControl.c, Python formatting can recursively access attributes and subscriptions using unrestricted getattr and getitem behavior instead of the policy-restricted getattr and getitem operations. A controlled format string can therefore disclose objects reachable from values available to the formatting operation. This issue is fixed in version 7.4.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
core library of niche legacy Zope/Plone Python web framework
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Zope

View all
CVE-2015-7293 HIGH POC
8.8 Sep 25

Multiple cross-site request forgery (CSRF) vulnerabilities in Zope Management Interface 4.3.7 and earlier, and Plone bef

CVE-2021-32633 HIGH POC
8.8 May 21

Zope is an open-source web application server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitabl

CVE-2024-47532 HIGH POC
8.7 Sep 30

RestrictedPython is a restricted execution environment for Python to run untrusted code. Rated high severity (CVSS 8.7),

CVE-2021-36089 HIGH POC
7.8 Jul 01

Grok 7.6.6 through 9.2.0 has a heap-based buffer overflow in grk::FileFormatDecompress::apply_palette_clr (called from g

CVE-2021-21337 MEDIUM POC
6.1 Mar 08

Products.PluggableAuthService is a pluggable Zope authentication and authorization framework. Rated medium severity (CVS

CVE-2023-37271 CRITICAL
9.9 Jul 11

RestrictedPython is a tool that helps to define a subset of the Python language which allows users to provide a program

CVE-2024-24811 CRITICAL
9.8 Feb 07

SQLAlchemyDA is a generic database adapter for ZSQL methods. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2023-42458 MEDIUM POC
5.4 Sep 21

Zope is an open-source web application server. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploita

CVE-2012-6661 MEDIUM POC
5.0 Nov 03

Zope before 2.13.19, as used in Plone before 4.2.3 and 4.3 before beta 1, does not reseed the pseudo-random number gener

CVE-2021-32674 HIGH
8.8 Jun 08

Zope is an open-source web application server. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitabl

CVE-2023-41050 HIGH
7.7 Sep 06

AccessControl provides a general security framework for use in Zope. Rated high severity (CVSS 7.7), this vulnerability

CVE-2023-41039 HIGH
7.7 Aug 30

RestrictedPython is a restricted execution environment for Python to run untrusted code. Rated high severity (CVSS 7.7),

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy