{"cve":"CVE-2023-41050","nvd":{"published":"2023-09-06T18:15:08.847","modified":"2026-06-17T06:20:18.200","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7},"cwes":["CWE-200"],"references":["https://github.com/zopefoundation/AccessControl/commit/6bc32692e0d4b8d5cf64eae3d19de987c7375bc9","https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-8xv7-89vj-q48c","https://github.com/zopefoundation/AccessControl/commit/6bc32692e0d4b8d5cf64eae3d19de987c7375bc9","https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-8xv7-89vj-q48c"],"products":["zope:accesscontrol","zope:zope"],"source":"nvd","synced_at":"2026-10-19T21:39:24.235896374+00:00"},"epss":{"cve":"CVE-2023-41050","score":0.00641,"percentile":0.50702,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8xv7-89vj-q48c","url":"https://osv.dev/vulnerability/GHSA-8xv7-89vj-q48c","summary":"Information disclosure in AccessControl","modified":"2026-07-13T16:43:49.162960743Z","packages":[{"ecosystem":"PyPI","name":"accesscontrol","purl":"pkg:pypi/accesscontrol","ranges":["<4.4"],"fixed":["4.4"]},{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":["<4.8.9"],"fixed":["4.8.9"]},{"ecosystem":"PyPI","name":"accesscontrol","purl":"pkg:pypi/accesscontrol","ranges":[">=5.0 <5.8"],"fixed":["5.8"]},{"ecosystem":"PyPI","name":"accesscontrol","purl":"pkg:pypi/accesscontrol","ranges":[">=6.0 <6.2"],"fixed":["6.2"]},{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":[">=5.0.0 <5.8.4"],"fixed":["5.8.4"]}]},{"id":"PYSEC-2026-2075","url":"https://osv.dev/vulnerability/PYSEC-2026-2075","summary":"Information disclosure in AccessControl","modified":"2026-07-13T16:43:49.162960743Z","packages":[{"ecosystem":"PyPI","name":"zope","purl":"pkg:pypi/zope","ranges":["<4.8.9",">=5.0.0 <5.8.4"],"fixed":["4.8.9","5.8.4"]}]},{"id":"PYSEC-2026-2325","url":"https://osv.dev/vulnerability/PYSEC-2026-2325","summary":"Information disclosure in AccessControl","modified":"2026-07-13T16:43:49.162960743Z","packages":[{"ecosystem":"PyPI","name":"accesscontrol","purl":"pkg:pypi/accesscontrol","ranges":["<4.4",">=5.0 <5.8",">=6.0 <6.2"],"fixed":["4.4","5.8","6.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}