Staging Environment: Content and features may be unstable or change without notice.

Advisory Package Curation

CVE-2024-32882

Progress 0 / 0

Advisory Summaries

github_osv/GHSA-w2v8-php4-p8hc

Wagtail has permission check bypass when editing a model with per-field restrictions through `wagtail.contrib.settings` or `ModelViewSet` ### Impact If a model has been made available for editing through the `wagtail.contrib.settings` https://docs.wagtail.org/en/stable/reference/contrib/settings.html module or `ModelViewSet` https://docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset, and the `permission` argument on `FieldPanel` https://docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission 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. The 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. ### Patches Patched versions have been released as Wagtail 6.0.3 and 6.1. Wagtail releases prior to 6.0 are unaffected. ### Workarounds Site owners who are unable to upgrade to a patched version can avoid the vulnerability in `ModelViewSet` by registering the model as a snippet instead. No workaround is available for `wagtail.contrib.settings`. ### Acknowledgements Many thanks to Ben Morse and Joshua Munn for reporting this issue. ### For more information If you have any questions or comments about this advisory: * Visit Wagtail's support channels https://docs.wagtail.io/en/stable/support.html * Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our security policy https://github.com/wagtail/wagtail/security/policy for more information).

gitlab/pypi/wagtail/CVE-2024-32882

Wagtail has permission check bypass when editing a model with per-field restrictions through `wagtail.contrib.settings` or `ModelViewSet` If a model has been made available for editing through the `wagtail.contrib.settings` https://docs.wagtail.org/en/stable/reference/contrib/settings.html module or `ModelViewSet` https://docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset, and the `permission` argument on `FieldPanel` https://docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission 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. The 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.

pypa/wagtail/PYSEC-2026-2031

Wagtail has permission check bypass when editing a model with per-field restrictions through `wagtail.contrib.settings` or `ModelViewSet` ### Impact If a model has been made available for editing through the `wagtail.contrib.settings` https://docs.wagtail.org/en/stable/reference/contrib/settings.html module or `ModelViewSet` https://docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset, and the `permission` argument on `FieldPanel` https://docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission 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. The 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. ### Patches Patched versions have been released as Wagtail 6.0.3 and 6.1. Wagtail releases prior to 6.0 are unaffected. ### Workarounds Site owners who are unable to upgrade to a patched version can avoid the vulnerability in `ModelViewSet` by registering the model as a snippet instead. No workaround is available for `wagtail.contrib.settings`. ### Acknowledgements Many thanks to Ben Morse and Joshua Munn for reporting this issue. ### For more information If you have any questions or comments about this advisory: * Visit Wagtail's support channels https://docs.wagtail.io/en/stable/support.html * Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our security policy https://github.com/wagtail/wagtail/security/policy for more information).

pysec/PYSEC-2026-2031

Wagtail has permission check bypass when editing a model with per-field restrictions through `wagtail.contrib.settings` or `ModelViewSet` ### Impact If a model has been made available for editing through the `wagtail.contrib.settings` https://docs.wagtail.org/en/stable/reference/contrib/settings.html module or `ModelViewSet` https://docs.wagtail.org/en/stable/extending/generic_views.html#modelviewset, and the `permission` argument on `FieldPanel` https://docs.wagtail.org/en/stable/reference/pages/panels.html#wagtail.admin.panels.FieldPanel.permission 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. The 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. ### Patches Patched versions have been released as Wagtail 6.0.3 and 6.1. Wagtail releases prior to 6.0 are unaffected. ### Workarounds Site owners who are unable to upgrade to a patched version can avoid the vulnerability in `ModelViewSet` by registering the model as a snippet instead. No workaround is available for `wagtail.contrib.settings`. ### Acknowledgements Many thanks to Ben Morse and Joshua Munn for reporting this issue. ### For more information If you have any questions or comments about this advisory: * Visit Wagtail's support channels https://docs.wagtail.io/en/stable/support.html * Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our security policy https://github.com/wagtail/wagtail/security/policy for more information).