7.7

CVE-2023-41050: Information disclosure through Python's "format" functionality in Zope AccessControl

Modified
AliasesGHSA-8xv7-89vj-q48cPYSEC-2026-2075PYSEC-2026-2325
Published 06-09-2023Last modified 26-09-2024

Vulnerability summary

CVE-2023-41050 is a high (CVSS 7.7) vulnerability in zope accesscontrol. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.7/10
010
High · v3.1 (NVD)
EPSS score
0.64%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 06-09-2023
    PublishedVulnerability first disclosed.
  2. 26-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.64% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

PyPI2 products
  • accesscontrol< 4.4 | ≥ 5.0, < 5.8 | ≥ 6.0, < 6.2
  • zope< 4.8.9 | ≥ 5.0.0, < 5.8.4
Zope2 products
Zopefoundation1 product
  • accesscontrolAccessControl: < 4.4 | AccessControl: >= 5.0, < 5.8 | AccessControl: >= 6.0, < 6.2 | Zope: < 4.8.9 | Zope: >= 5.0.0, < 5.8.4

3 vendors · 5 products

References

7 links