Live threats

All CVEs / Zope

CVE-2023-41050Zope Accesscontrol

High 7.7

Priority
46
CVSS 3.1
7.7
EPSS
0.7%
probability of exploitation in 30 days · percentile 51
Auth required
Yes
Published
Sep 6, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

What happens

AccessControl provides a general security framework for use in Zope. Python's "format" functionality allows someone controlling the format string to "read" objects accessible (recursively) via attribute access and subscription from accessible objects. Those attribute accesses and subscriptions use Python's full blown `getattr` and `getitem`, not the policy restricted `AccessControl` variants `_getattr_` and `_getitem_`. This can lead to critical information disclosure. `AccessControl` already provides a safe variant for `str.format` and denies access to `string.Formatter`. However, `str.format_map` is still unsafe. Affected are all users who allow untrusted users to create `AccessControl` controlled Python code and execute it. A fix has been introduced in versions 4.4, 5.8 and 6.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Accesscontrol.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI accesscontrol < 4.4 4.4 pip install "accesscontrol>=4.4"
PyPI accesscontrol ≥ 5.0 < 5.8 5.8 pip install "accesscontrol>=5.8"
PyPI accesscontrol ≥ 6.0 < 6.2 6.2 pip install "accesscontrol>=6.2"
PyPI accesscontrol < 4.4 4.4 pip install "accesscontrol>=4.4"
PyPI accesscontrol ≥ 5.0 < 5.8 5.8 pip install "accesscontrol>=5.8"
PyPI accesscontrol ≥ 6.0 < 6.2 6.2 pip install "accesscontrol>=6.2"
PyPI zope < 4.8.9 4.8.9 pip install "zope>=4.8.9"
PyPI zope ≥ 5.0.0 < 5.8.4 5.8.4 pip install "zope>=5.8.4"
PyPI zope < 4.8.9 4.8.9 pip install "zope>=4.8.9"
PyPI zope ≥ 5.0.0 < 5.8.4 5.8.4 pip install "zope>=5.8.4"

Per OSV / GitHub Advisories (GHSA-8xv7-89vj-q48c, PYSEC-2026-2325, PYSEC-2026-2075). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
zopeaccesscontrol< 4.4
zopeaccesscontrol≥ 5.0 < 5.8
zopeaccesscontrol≥ 6.0 < 6.2
zopezope< 4.8.9
zopezope≥ 5.0 < 5.8.4

Official sources

References

Links published by the sources. Open them with care.