Vulnerabilities in pkg:pypi/AccessControl
PACKAGECVE-2026-77401 is a MODERATE (CVSS 6.8) zope accesscontrol vulnerable to information vulnerability (CWE-693: Protection Mechanism Failure) affecting AccessControl libraries in the PyPI ecosystem. The issue involves zope accesscontrol vulnerable to information disclosure through python string `format` and `format_map` functions. Remediation is available by upgrading affected packages to version 7.4.
pkg:pypi/AccessControl
Vulnerability advisories affecting package pkg:pypi/AccessControl. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-pq59-9fq7-m886 | CVE-2026-77401 | MODERATE | Zope AccessControl vulnerable to information disclosure through Python string `format` and `format_map` functions |
| GHSA-qcx9-j53g-ccgf | CVE-2021-32807 | MODERATE | Remote Code Execution via unsafe classes in otherwise permitted modules |
| GHSA-g5vw-3h65-2q3v | CVE-2024-51734 | MODERATE | Access control vulnerable to user data deletion by anonynmous users |
| GHSA-8xv7-89vj-q48c | CVE-2023-41050 | MODERATE | Information disclosure in AccessControl |
CVE-2026-77401 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2026-77401
To remediate this vulnerability, upgrade all affected AccessControl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install AccessControl>=7.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show AccessControl
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-77401, inspect your installed packages using pip:
pip show AccessControl
Analyze the terminal output to locate any version of AccessControl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.4), your application is affected.
Note: The pip show AccessControl command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. In AccessControl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-77401 Affected AccessControl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
AccessControl
|
PyPI |
< 7.4
|
7.4
|
References
Frequently Asked Questions
What is CVE-2026-77401?
Which AccessControl versions are affected?
What version fixes CVE-2026-77401?
Is AccessControl affected?
What is the CVSS score of CVE-2026-77401?
What CWE is associated with CVE-2026-77401?
How can I check PyPI dependencies for CVE-2026-77401?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pq59-9fq7-m886",
"modified" : "2026-09-17T16:30:37Z",
"published" : "2026-09-17T16:30:37Z",
"aliases" : [ "CVE-2026-77401" ],
"summary" : "Zope AccessControl vulnerable to information disclosure through Python string `format` and `format_map` functions",
"details" : "### Impact\nPython's string `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.\n\nThe `AccessControl` package already guards against direct access to the formatting functions on string instances, but these mitigations did not cover subclasses of `str`.\n\nAffected are all users who allow untrusted users to create AccessControl controlled Python code and execute it.\n\n### Patches\nA fix was published with version 7.4.\n\n### Workarounds\nThere is no workaround.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "AccessControl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/AccessControl/security/advisories/GHSA-pq59-9fq7-m886"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-77401"
}, {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/AccessControl/commit/f980450eea416718be62847f34dfd51822938e43"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zopefoundation/AccessControl"
}, {
"type" : "WEB",
"url" : "https://github.com/zopefoundation/AccessControl/releases/tag/7.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-693" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-17T16:30:37Z",
"nvd_published_at" : "2026-09-16T15:17:46Z"
}
}