Description
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.
Severity (CVSS)
| Base score | 6.8 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-693 — CWE-693: Protection Mechanism Failure
Affected products
| Vendor | Product | Versions |
|---|---|---|
| zopefoundation | AccessControl | < 7.4 |
References
- https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886 (x_refsource_CONFIRM)
- https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43 (x_refsource_MISC)
- https://github.com/zopefoundation/AccessControl/releases/tag/7.4 (x_refsource_MISC)
Generated from the official CVE List on 17 Sep 2026 07:04 UTC.