# CVE-2024-32882: Permission check bypass when editing a model with per-field restrictions in wagtail

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.7
- **CVSS:** 2.7 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-26)
- **CWE:** CWE-280, CWE-281
- **Aliases:** GHSA-w2v8-php4-p8hc, PYSEC-2026-2031
- **Published:** 2024-05-01T16:35:13.000Z
- **Modified:** 2026-09-10T03:50:14.432Z

## Who should check

- Projects that depend on PyPI package wagtail (\>= 6.0.0, \< 6.0.3)
- Anyone running wagtail \>= 6.0.0, \< 6.0.3

## Description

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.

## Affected and fixed versions

- PyPI `wagtail`: affected \>= 6.0.0, \< 6.0.3; fixed 6.0.3 (osv)
- wagtail: \>= 6.0.0, \< 6.0.3 (cvelist)

## Mitigation

- Upgrade wagtail to 6.0.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-32882. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-32882.md
Affected: wagtail >= 6.0.0, < 6.0.3
Fixed in: 6.0.3

Steps:
1. Search this machine and project for wagtail (PyPI), wagtail: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-32882 being exploited?

There is no confirmed exploitation: CVE-2024-32882 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-32882?

Low: CVSS 2.7 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2024-32882?

wagtail \>= 6.0.0, \< 6.0.3.

### Is there a fix for CVE-2024-32882?

Yes. Fixed in 6.0.3. Upgrade wagtail to 6.0.3 or later.

### How do I check if I'm affected by CVE-2024-32882?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/wagtail/wagtail/security/advisories/GHSA-w2v8-php4-p8hc>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-32882>
- vendor: <https://github.com/advisories/GHSA-w2v8-php4-p8hc>
- patch: <https://github.com/wagtail/wagtail/commit/ab2a5d82b4ee3c909d2456704388ccf90e367c9b>
- patch: <https://github.com/wagtail/wagtail/commit/fa0d4829f9c81eefb37cc058e2fa1b6a918741da>
- other: <https://docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset>
- other: <https://docs.wagtail.org/en/stable/reference/contrib/settings.html>
- other: <https://docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission>
- other: <https://github.com/wagtail/wagtail>
- other: <https://github.com/wagtail/wagtail/releases/tag/v6.0.3>
- other: <https://pypi.org/project/wagtail>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-32882>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w2v8-php4-p8hc> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2031> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-32882> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-32882>
