Skip to main content
← All vulnerabilities
CVE-2026-77401GHSA-PQ59-9FQ7-M886PYSEC-2026-4022

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • zopefoundation AccessControl

    fixed in 7.4

  • accesscontrolPyPI

    fixed in 7.4

References 3

GitHub · zopefoundation/AccessControl