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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-693"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77401.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "7.4"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77401.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"95567365946331775351211445702854802335",
"66001858267904819631237342368770359743",
"130597594585641328390948415441371870484",
"47886076481932695417733069775757260442",
"305560083633414621956399642766134114961",
"313472931668314419297540342532299699865",
"143659315865397406621665142705681719302"
],
"threshold": 0.9
},
"id": "CVE-2026-77401-75bc6a79",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/zopefoundation/accesscontrol/commit/f980450eea416718be62847f34dfd51822938e43",
"target": {
"file": "src/AccessControl/cAccessControl.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "117251557948837844079452834506023948219",
"length": 1523
},
"id": "CVE-2026-77401-c3eb906d",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/zopefoundation/accesscontrol/commit/f980450eea416718be62847f34dfd51822938e43",
"target": {
"file": "src/AccessControl/cAccessControl.c",
"function": "guarded_getattr"
}
}
]
"2026-09-18T08:11:08Z"