GHSA-x5cx-w6p2-mxf2 Wagtail: Improper permission handling when copying snippets
A user with add permission can copy inaccessible snippets to view their contents, bypassing view restrictions in Wagtail CMS.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-x5cx-w6p2-mxf2?
GHSA-x5cx-w6p2-mxf2 is a missing authorization vulnerability in wagtail, published on 20 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Impact
A CMS user with "add" permission over a snippet model, but not "change" or "view" permission, could copy an existing snippet that they do not have access to, allowing them to view its contents.
Patches
Patched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.
Workarounds
N/A
Acknowledgements
Many thanks to tinyb0y 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 [email protected] (view our security policy for more information).
Which versions are affected by GHSA-x5cx-w6p2-mxf2?
8 open source packages ship an affected version, including wagtail.
| Package | Affected | Fixed in |
|---|---|---|
wagtail PyPI | All versions | 7.0.9 |
wagtail PyPI | All versions | 7.0.9 |
wagtail PyPI | From 7.1 | 7.3.4 |
wagtail PyPI | From 7.1 | 7.3.4 |
wagtail PyPI | From 7.4 | 7.4.3 |
wagtail PyPI | From 7.4 | 7.4.3 |
2 more packages
wagtail PyPI | From 8.0rc1 | 8.0rc2 |
wagtail PyPI | From 8.0rc1 | 8.0rc2 |
How do I fix GHSA-x5cx-w6p2-mxf2?
Upgrade wagtail to a fixed version for your release line: 7.0.9, 7.3.4, 7.4.3 or 8.0rc2.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is GHSA-x5cx-w6p2-mxf2 being exploited?
There is no known exploitation of GHSA-x5cx-w6p2-mxf2 in the wild and no public exploit code.