CVE-2026-77401: AccessControl Package Vulnerable to Information Disclosure via Python String Formatting

accesscontrol Updated 17 Sep 2026

Summary

17/09/2026
Yes i
Moderate
6.8

CVE-2026-77401: Impact Python's string format functionality allows someone controlling the format string to "read" objects accessible (recursively) via attribute access and subscription from accessible objects. Affects accesscontrol versions < 7.4. Fixed in 7.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The AccessControl package is a critical component of the Zope web application server, enabling fine-grained access control to Python objects. It provides mechanisms to restrict access to sensitive data and functions, ensuring that only authorized users can interact with certain parts of the application. However, a vulnerability has been identified that allows untrusted users to exploit Python's string formatting capabilities, leading to potential information disclosure.

Vulnerability Detail

The vulnerability arises from Python's string format and format_map functions, which allow a format string controlled by an attacker to access objects through attribute access and subscription. This access bypasses the intended security measures of the AccessControl package, using Python's native getattr and getitem instead of the restricted variants. As a result, sensitive information may be exposed to unauthorized users, posing a significant security risk.

How To Fix

Latest published version: 7.5.0 as of 23 Oct 2026

pip install --upgrade "accesscontrol==7.5.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.4

This is the first release that contains the fix.

pip install --upgrade "accesscontrol==7.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is currently no effective workaround for this vulnerability. The only recommended action is to update to the patched version of the AccessControl package.

Conclusion

The CVE-2026-77401 vulnerability in the AccessControl package poses a significant risk of information disclosure through Python's string formatting functions. It is crucial for users to update to the patched version 7.4 or later to protect their applications from potential exploitation. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for accesscontrol →

Share this vulnerability

FAQ

CVE-2026-77401 is a vulnerability in the AccessControl package that allows information disclosure through Python's string formatting functions.

If your application allows untrusted users to execute AccessControl controlled Python code, they may exploit this vulnerability to access sensitive information.

You should immediately update your AccessControl package to version 7.4 or later to mitigate the risk associated with this vulnerability.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The CVSS score of this vulnerability is 6.8, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for accesscontrol.

How To Fix

Latest published version: 7.5.0 as of 23 Oct 2026

pip install --upgrade "accesscontrol==7.5.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

7.4

This is the first release that contains the fix.

pip install --upgrade "accesscontrol==7.4"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback