PyPI: wagtail

CVE-2026-54259

Safety vulnerability ID: SFTY-20260820-09451

Affected versions of the Wagtail package are vulnerable to Improper Handling of Insufficient Permissions or Privileges due to improper restriction handling on the Documents and Images chooser's chosen endpoints. The endpoints incorrectly list items for which users lack the necessary choose permission, revealing filenames, names, and URLs of documents and images. An attacker with access to the Wagtail admin interface can exploit this vulnerability to view restricted metadata for documents and images without proper authorization.

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

Overview

Wagtail: Improper restriction handling on Documents and Images chosen endpoints

Advisory

wagtail – Improper Handling of Insufficient Permissions or Privileges

Affected Package

Affecting wagtail package, versions< 7.0.8>= 7.1, < 7.3.3>= 7.4, < 7.4.2

Also affects

---

How to Fix

Upgradewagtailto7.0.87.3.37.4.2or 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