Advisory

PYSEC-2026-2032

Also known as: CVE-2024-35228, GHSA-xxfm-vmcf-g33f

Summary

Improper Handling of Insufficient Permissions in wagtail.contrib.settings

Details

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:

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

wagtail

PyPI · All systems

Affected

  • introduced 6.0.0, fixed 6.0.5, introduced 6.1.0, fixed 6.1.2 (ecosystem)

Fixed versions

6.0.5, 6.1.2

Fix

  • Fixed version 6.0.5
    pip install --upgrade wagtail==6.0.5
  • Fixed version 6.1.2
    pip install --upgrade wagtail==6.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences