CVE-2026-77401 PUBLISHED

Zope AccessControl: Information disclosure through Python string `format` and `format_map` functions

Assigner: GitHub_M
Reserved: 20.08.2026 Published: 16.09.2026 Updated: 16.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
CVSS Score: 6.8

Product Status

Vendor zopefoundation
Product AccessControl
Versions
  • Version < 7.4 is affected

References

Problem Types

  • CWE-693: Protection Mechanism Failure CWE