Vulnerability in Zopefoundation Accesscontrol
CVE-2026-77401
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.
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N.
Affected products
- Zopefoundation Accesscontrol — versions < 7.4
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-77401?
- CVE-2026-77401 is a medium-severity vulnerability in Zopefoundation Accesscontrol, classified under Protection Mechanism Failure. CVSS score: 6.8/10. Published 2026-09-16.
- How severe is CVE-2026-77401?
- Medium severity. CVSS v3 base score is 6.8 out of 10.