# CVE-2026-77401: Zope AccessControl: Information disclosure through Python string `format` and `format_map` functions

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-09-16T14:28:01.186Z
- Modified: 2026-10-01T17:56:05.701Z
- Also known as: GHSA-pq59-9fq7-m886, PYSEC-2026-4022
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- zopefoundation AccessControl: < 7.4
- accesscontrol (PyPI): before 7.4

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886> (web)
- <https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43> (web)
- <https://github.com/zopefoundation/AccessControl/releases/tag/7.4> (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)

## Sources

- CVE List: [CVE-2026-77401](https://www.cve.org/CVERecord?id=CVE-2026-77401), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-pq59-9fq7-m886](https://github.com/advisories/GHSA-pq59-9fq7-m886), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-77401](https://nvd.nist.gov/vuln/detail/CVE-2026-77401), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-4022](https://osv.dev/vulnerability/PYSEC-2026-4022), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-77401 · Whole record: https://cve.day/CVE-2026-77401.json · Rebuilt by cve.day 2026-11-25T22:59:39.057Z
