Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2021-32807
zope accesscontrol

Score7.2 High
CVSS 3.1
Exploit probability (EPSS)2.1%
within the next 30 days
CategoryMisconfiguration & validation
Published30 July 2021
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with administrator privileges, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Prototype pollution.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

The module `AccessControl` defines security policies for Python code used in restricted code within Zope applications. Restricted code is any code that resides in Zope's object database, such as the contents of `Script (Python)` objects. The policies defined in `AccessControl` severely restrict access to Python modules and only exempt a few that are deemed safe, such as Python's `string` module. However, full access to the `string` module also allows access to the class `Formatter`, which can be overridden and extended within `Script (Python)` in a way that provides access to other unsafe Python libraries. Those unsafe Python libraries can be used for remote code execution. By default, you need to have the admin-level Zope "Manager" role to add or edit `Script (Python)` objects through the web. Only sites that allow untrusted users to add/edit these scripts through the web - which would be a very unusual configuration to begin with - are at risk. The problem has been fixed in AccessControl 4.3 and 5.2. Only AccessControl versions 4 and 5 are vulnerable, and only on Python 3, not Python 2.7. As a workaround, a site administrator can restrict adding/editing `Script (Python)` objects through the web using the standard Zope user/role permission mechanisms. Untrusted users should not be assigned the Zope Manager role and adding/editing these scripts through the web should be restricted to trusted users only. This is the default configuration in Zope.

CVSS: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-915, CWE-1321 – Prototype pollution

Affected products

VendorProductVersions
zopeaccesscontrol>=4.0 <4.3
zopeaccesscontrol>=5.0 <5.2

Sources

Latest in the same category

  • CVE-2026-140103 Medium 5.4
    http-proxy-middleware is node.js http-proxy middleware. From 2.0.9 until 2.0.11, 3.0.8, and 4.2.1, fixRequestBody treats req.readableLength === 0 as proof that a body parser consumed the request body, although zero…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-139996 High 7.4
    React Router is a router for React. From 7.0.0 until 7.18.5 and 8.5.1, React Router Framework mode contains a prototype pollution vulnerability in data deserialization. Processing attacker-controlled serialized data…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-139876 High 8.2
    Axios 1.7.6 before 1.21.0 contains a prototype pollution gadget in the fetch adapter signal cleanup in lib/helpers/composeSignals.js that allows attackers to crash Node.js processes. Attackers who pollute…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-81058 Medium 5.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Restriction of XML External Entity Reference vulnerability. A low privileged local attacker could potentially exploit…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-127054 High 7.2
    XML external entity injection (XXE) in the parser for requests to a REST interface. During testing with an authenticated session, the server resolved an external entity and made an HTTP request to an external resource.…
    Misconfiguration & validation · 30 November 2026
  • CVE-2026-138390 Low 2
    A flaw has been found in agent0ai agent-zero up to 2.16. Affected by this vulnerability is the function InfectionChecker.gate of the file plugins/_infection_check/helpers/checker.py. Executing a manipulation can lead…
    Misconfiguration & validation · 30 November 2026