CVE-2026-77401
MEDIUM 6.8CVSS 3.1Zope AccessControl vulnerable to information disclosure through Python string `format` and `format_map` functions
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.
- Published
- 16 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-693
- Also known as
- GHSA-pq59-9fq7-m886PYSEC-2026-4022
- Sources
- NVDJSONOSV GHSA-pq59-9fq7-m886JSONOSV PYSEC-2026-4022JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| OSV | PyPI | accesscontrol | < 7.4 | 7.4 |
References
- https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43 · WEB
- https://github.com/zopefoundation/AccessControl/releases/tag/7.4 · WEB
- https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77401 · ADVISORY
- https://github.com/zopefoundation/AccessControl · PACKAGE
- https://pypi.org/project/accesscontrol · PACKAGE
- https://github.com/advisories/GHSA-pq59-9fq7-m886 · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 16 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2026)