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.

Created at: Aug 25, 2026Updated at: Aug 25, 2026

Overview

Wagtail: Improper restriction handling on descendant collections in Documents and Images API

Advisory

wagtail – Improper Handling of Insufficient Permissions or Privileges

Affected Package

Affecting wagtail package, versions< 7.0.9>= 7.1, < 7.3.4>= 7.4, < 7.4.3== 8.0rc1

Also affects

---

How to Fix

Upgradewagtailto7.0.97.3.47.4.38.0rc2or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

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