{"id":"CVE-2026-77401","state":"PUBLISHED","title":"Zope AccessControl: Information disclosure through Python string `format` and `format_map` functions","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.","publishedAt":"2026-09-16T14:28:01.186Z","updatedAt":"2026-09-16T18:35:46.823Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["zopefoundation AccessControl"],"affected":[{"vendor":"zopefoundation","product":"AccessControl","versions":[{"version":"< 7.4","status":"affected"}]}],"references":["https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886","https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43","https://github.com/zopefoundation/AccessControl/releases/tag/7.4"],"weaknesses":["CWE-693"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77401.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77401","state":"PUBLISHED","datePublished":"2026-09-16T14:28:01.186Z","dateUpdated":"2026-09-16T18:35:46.823Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T19:55:27.023Z"},"containers":{"cna":{"title":"Zope AccessControl: Information disclosure through Python string `format` and `format_map` functions","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"zopefoundation","product":"AccessControl","versions":[{"version":"< 7.4","status":"affected"}]}],"references":[{"url":"https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886","name":"https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43","name":"https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43","tags":["x_refsource_MISC"]},{"url":"https://github.com/zopefoundation/AccessControl/releases/tag/7.4","name":"https://github.com/zopefoundation/AccessControl/releases/tag/7.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","lang":"en","description":"CWE-693: Protection Mechanism Failure","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-16T14:28:01.186Z"},"source":{"advisory":"GHSA-pq59-9fq7-m886","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-16T18:18:37.466466Z","id":"CVE-2026-77401","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-16T18:35:46.823Z"}}]}}}