VDB
Sign up
CRITICAL9.1

PYSEC-2026-2326

Access control vulnerable to user data deletion by anonynmous users

Quick fix

PYSEC-2026-2326 — accesscontrol: upgrade to the fixed version with the command below.

pip install --upgrade 'accesscontrol>=7.2'

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/accesscontrol
Introduced in: 0Fixed in: 7.2
Fixpip install --upgrade 'accesscontrol>=7.2'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/accesscontrol"]}'