Improper Handling of Insufficient Permissions in `wagtail.contrib.settings`
Impact
Due to an improperly applied permission check in the wagtail.contrib.settings module, a user with access to the Wagtail admin and knowledge of the URL of the edit view for a settings model can access and update that setting, even when they have not been granted permission over the model. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.
Patches
Patched versions have been released as Wagtail 6.0.5 and 6.1.2. Wagtail releases prior to 6.0 are unaffected.
Workarounds
No workaround is available.
Acknowledgements
Many thanks to Victor Miti 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).
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | wagtail | >= 6.0.0, < 6.0.5, >= 6.1.0, < 6.1.2 | 6.0.5, 6.1.2 |
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-xxfm-vmcf-g33f
- https://nvd.nist.gov/vuln/detail/CVE-2024-35228
- https://github.com/wagtail/wagtail/commit/284f75a6f91f7ab18cc304d7d34f33b559ae37b1
- https://github.com/wagtail/wagtail
- https://pypi.org/project/wagtail
- https://github.com/advisories/GHSA-xxfm-vmcf-g33f
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N- Weakness (CWE)
CWE-280- Platform
- Python (PyPI)
- Package
wagtail- Disclosed
- 02.06.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2032 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-xxfm-vmcf-g33f - CC BY 4.0
Vulnerability history: wagtail
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 30
- First → latest
- 04.2020 08.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 5
- Medium 22
- Low 3
Disclosures per year
- 2020: 3
- 2021: 2
- 2022: 1
- 2023: 3
- 2024: 3
- 2025: 0
- 2026: 18
-
Improper Handling of Insufficient Permissions in `wagtail.contrib.settings` this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.