CVE-2024-32882 json
Permission check bypass when editing a model with per-field restrictions in wagtail
published 2024-05-01 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1820 , GHSA-w2v8-php4-p8hc , PYSEC-2026-2031
- cvss
- 2.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
Wagtail is an open source content management system built on Django. In affected versions if a model has been made available for editing through the `wagtail.contrib.settings` module or `ModelViewSet`, and the `permission` argument on `FieldPanel` has been used to further restrict access to one or more fields of the model, a user with edit permission over the model but not the specific field can craft an HTTP POST request that bypasses the permission check on the individual field, allowing them to update its value. This vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin, or by a user who has not been granted edit access to the model in question. The editing interfaces for pages and snippets are also unaffected. Patched versions have been released as Wagtail 6.0.3 and 6.1. Wagtail releases prior to 6.0 are unaffected. Users are advised to upgrade. Site owners who are unable to upgrade to a patched version can avoid the vulnerability as follows: 1.For models registered through `ModelViewSet`, register the model as a snippet instead; 2. For settings models, place the restricted fields in a separate settings model, and configure permission at the model level.
Patch / fix
- pypi wagtail 6.0.3
- wagtail wagtail 6.0.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | wagtail | >=6.0.0, <6.0.3 |
6.0.3 |
Affected products
- wagtail wagtail
Classification
References
-
github.com
/wagtail/wagtail/commit/ab2a5d82b4ee3c909d2456704388ccf90e367c9b
web
-
github.com
/wagtail/wagtail/commit/fa0d4829f9c81eefb37cc058e2fa1b6a918741da
web
-
github.com
/wagtail/wagtail/security/advisories/GHSA-w2v8-php4-p8hc
web
-
docs.wagtail.org
/en/stable/extending/generic_views.html#modelviewset
web
-
docs.wagtail.org
/en/stable/reference/contrib/settings.html
web
-
docs.wagtail.org
/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-32882
advisory
-
github.com
/wagtail/wagtail
package
-
github.com
/wagtail/wagtail/releases/tag/v6.0.3
web
-
pypi.org
/project/wagtail
package
-
github.com
/advisories/GHSA-w2v8-php4-p8hc
advisory
Sources
- CVE List CVE-2024-32882
- GitHub Advisory GHSA-w2v8-php4-p8hc
- NVD CVE-2024-32882
- OSV PYSEC-2026-2031
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.