CVE-2023-41050
HIGH 7.7CVSS 3.1Information disclosure in AccessControl
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.
- Published
- 6 Sep 2023
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-8xv7-89vj-q48cPYSEC-2026-2075PYSEC-2026-2325
- Sources
- NVDJSONOSV GHSA-8xv7-89vj-q48cJSONOSV PYSEC-2026-2075JSONOSV PYSEC-2026-2325JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zope | accesscontrolcpe:2.3:a:zope:accesscontrol:*:*:*:*:*:*:*:* |
< 4.4 | 4.4 |
| NVD | zope | accesscontrolcpe:2.3:a:zope:accesscontrol:*:*:*:*:*:*:*:* |
>= 5.0, < 5.8 | 5.8 |
| NVD | zope | accesscontrolcpe:2.3:a:zope:accesscontrol:*:*:*:*:*:*:*:* |
>= 6.0, < 6.2 | 6.2 |
| NVD | zope | zopecpe:2.3:a:zope:zope:*:*:*:*:*:*:*:* |
< 4.8.9 | 4.8.9 |
| NVD | zope | zopecpe:2.3:a:zope:zope:*:*:*:*:*:*:*:* |
>= 5.0, < 5.8.4 | 5.8.4 |
| OSV | PyPI | accesscontrol | < 4.4 | 4.4 |
| OSV | PyPI | zope | < 4.8.9 | 4.8.9 |
| OSV | PyPI | accesscontrol | >= 5.0, < 5.8 | 5.8 |
| OSV | PyPI | accesscontrol | >= 6.0, < 6.2 | 6.2 |
| OSV | PyPI | zope | >= 5.0.0, < 5.8.4 | 5.8.4 |
| OSV | PyPI | zope | < 4.8.9; >= 5.0.0, < 5.8.4 | 4.8.9, 5.8.4 |
| OSV | PyPI | accesscontrol | < 4.4; >= 5.0, < 5.8; >= 6.0, < 6.2 | 4.4, 5.8, 6.2 |
References
- https://github.com/zopefoundation/AccessControl/commit/6bc32692e0d4b8d5cf64eae3d19de987c7375bc9 · Patch, WEB
- https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-8xv7-89vj-q48c · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-41050 · ADVISORY
- https://github.com/zopefoundation/AccessControl · PACKAGE
- https://pypi.org/project/zope · PACKAGE
- https://github.com/advisories/GHSA-8xv7-89vj-q48c · ADVISORY
- https://pypi.org/project/accesscontrol · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Sep 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Sep 2023)