p PatchFirst

CVE-2026-77401

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.8 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • accesscontrol

    Versions
    • < 7.4: Affected

    No fix published

  • accesscontrol PyPI

    Versions
    • 2.13.0
    • 2.13.1
    • 2.13.10
    • 2.13.11
    • 2.13.12
    • 2.13.13
    • 2.13.14
    • 2.13.15
    • 2.13.16
    • 2.13.2
    • 2.13.3
    • 2.13.4
    • 2.13.5
    • 2.13.6
    • 2.13.7
    • 2.13.8
    • 2.13.9
    • 3.0
    • 3.0.1
    • 3.0.10
    • 3.0.11
    • 3.0.12
    • 3.0.13
    • 3.0.14
    • 3.0.2
    • 3.0.3
    • 3.0.4
    • 3.0.5
    • 3.0.6
    • 3.0.7
    • 3.0.8
    • 3.0.9
    • 4.0
    • 4.0a1
    • 4.0a2
    • 4.0a3
    • 4.0a4
    • 4.0a5
    • 4.0a6
    • 4.0a7
    • 4.0b1
    • 4.0b2
    • 4.0b3
    • 4.0b4
    • 4.0b5
    • 4.0b6
    • 4.0b7
    • 4.1
    • 4.2
    • 4.3
    • 4.4
    • 5.0
    • 5.1
    • 5.2
    • 5.3
    • 5.3.1
    • 5.4
    • 5.5
    • 5.6
    • 5.7
    • 6.0
    • 6.1
    • 6.2
    • 6.3
    • 7.0
    • 7.1
    • 7.2
    • 7.3
    Affected ranges
    • ECOSYSTEM: < 7.4

    Update to 7.4

Original sources

Check your server →