Advisory

PYSEC-2026-2076

Also known as: CVE-2024-51734, GHSA-g5vw-3h65-2q3v, PYSEC-2026-2326

Summary

Access control vulnerable to user data deletion by anonynmous users

Details

Impact
Anonymous users can delete the user data maintained by an AccessControl.userfolder.UserFolder which may prevent any privileged access.

Patches
The problem is fixed in version 7.2.

Workarounds
The problem can be fixed by adding data__roles__ = () to AccessControl.userfolder.UserFolder.

References
https://github.com/zopefoundation/AccessControl/issues/159

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

zope

PyPI · All systems

Affected

  • introduced 0, fixed 5.11.1 (ecosystem)

Fixed versions

5.11.1

Fix

  • Fixed version 5.11.1
    pip install --upgrade zope==5.11.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences