PyPI: wagtail
GHSA-c2xx-cjmh-9q8f
Safety vulnerability ID: SFTY-20260820-09785
Affected versions of the Wagtail package are vulnerable to Information Disclosure due to improper restriction handling on descendant collections in the Documents and Images API. The API V2 incorrectly lists items in descendants of private collections, failing to enforce the view restrictions defined on their ancestor collections. An attacker with access to the API can exploit this vulnerability to view the filename and name of documents and images in these descendant collections, potentially accessing sensitive information.
Overview
Wagtail: Improper restriction handling on descendant collections in Documents and Images API
Advisory
wagtail – Improper Handling of Insufficient Permissions or Privileges
Affected Package
Also affects
---
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
