CVE-2026-77401: Zope AccessControl: Information disclosure through Python string `format` and `format_map` functions

Published Sep 16, 2026
·
Updated

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.formatmap 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 Software

1 affected component
Zope AccessControl<7.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Zope AccessControl to a version that resolves this vulnerability.

    Fixed in 7.4

Event History

Sep 16, 2026
CVE Published
via MITRE·02:28 PM
Data Sourced
via MITRE·02:28 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Applications using Zope AccessControl before version 7.4 are affected only if untrusted users can create and execute AccessControl-controlled Python code. The vulnerable behavior is triggered when str.format or str.format_map is reached through a str subclass.

2

What does an attacker need to exploit this issue?

An attacker needs the ability to supply or control a format string in AccessControl-controlled Python code and have values available to the formatting operation. They can use recursive attribute and subscription access to disclose reachable objects.

3

What should be done to remediate the issue?

Upgrade Zope AccessControl to version 7.4, which fixes the issue. If upgrading cannot happen immediately, restrict untrusted users from creating or executing AccessControl-controlled Python code and prevent their control of formatting operations involving str subclasses.

4

How can I assess whether a vulnerable application is at risk?

Review whether the application uses an AccessControl version earlier than 7.4 and permits untrusted users to create and execute controlled Python code. Also identify uses of str.format or str.format_map through str subclasses where user-controlled format strings can access values containing sensitive or otherwise reachable objects.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203