CVE-2026-54259: Wagtail: Improper restriction handling on Documents and Images chosen endpoints
Impact The Documents and Images chooser's chosen endpoint incorrectly listed items for which the user has not been granted choose permission. A user with access to the Wagtail admin could see the filename and name and URLs of documents and images in those collections.
The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.
Patches Patched versions have been released as Wagtail 7.0.8, 7.3.3, 7.4.2.
Workarounds N/A
Acknowledgements Many thanks to @harshakshit for reporting this issue.
For more information If you have any questions or comments about this advisory:
Visit Wagtail's support channels Email us at security@wagtail.org (view our security policy for more information).
Other sources
Wagtail is an open source content management system built on Django. In versions prior to 7.0.8, 7.3.3 and 7.4.2, the Documents and Images chooser's chosen endpoint incorrectly listed items for which the user has not been granted choose permission. A user with access to the Wagtail admin could see the filename and name and URLs of documents and images in those collections. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. This issue has been fixed in versions 7.0.8, 7.3.3, and 7.4.2.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/wagtailto a version that resolves this vulnerability.Fixed in 7.4.2 - Upgrade
Upgrade
pip/wagtailto a version that resolves this vulnerability.Fixed in 7.3.3 - Upgrade
Upgrade
pip/wagtailto a version that resolves this vulnerability.Fixed in 7.0.8 - Upgrade
Upgrade
wagtailto a version that resolves this vulnerability.Fixed in 7.0.8 - Upgrade
Upgrade
wagtailto a version that resolves this vulnerability.Fixed in 7.3.3 - Upgrade
Upgrade
wagtailto a version that resolves this vulnerability.Fixed in 7.4.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-54259?
CVE-2026-54259 has a severity rating of medium, with a CVSS score of 4.3.
How do I fix CVE-2026-54259?
To fix CVE-2026-54259, update Wagtail to version 7.0.8, 7.3.3, or 7.4.2 or later.
What is the impact of CVE-2026-54259?
CVE-2026-54259 allows users with Wagtail admin access to view and choose Documents and Images they shouldn't have permission for.
Which versions of Wagtail are affected by CVE-2026-54259?
CVE-2026-54259 affects Wagtail versions prior to 7.0.8, 7.3.3, and 7.4.2.
Is user interaction required to exploit CVE-2026-54259?
User interaction is not required to exploit CVE-2026-54259, as users with admin access can be affected directly.