Advisory

GHSA-3vrh-m9w7-v94f

Also known as: CVE-2026-55468, PYSEC-2026-3939

Summary

Wagtail: Improper restriction handling on Pages admin API

Details

Impact

The internal Pages admin API incorrectly returns page fields without access control when they are declared in api_fields. A user with access to the Wagtail admin can use this API to fetch draft and live page fields’ contents that are part of api_fields on the base page model (title, slug, seo_title, search_description), as well as all custom fields declared in api_fields.

The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin.

Patches

Patched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.

Workarounds

Site owners unable to upgrade can apply the fix by overriding the relevant method on PagesAdminAPIViewSet to patch all vulnerable admin API endpoints:

# wagtail_hooks.py or AppConfig.ready()

from wagtail.admin.api.views import PagesAdminAPIViewSet
from wagtail.permissions import page_permission_policy


def _restricted_get_base_queryset(self):
    return page_permission_policy.explorable_instances(self.request.user)

PagesAdminAPIViewSet.get_base_queryset = _restricted_get_base_queryset

Acknowledgements

Many thanks to xuliang@QAX for reporting this issue.

For more information

If you have any questions or comments about this advisory:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-08-20 18:42 UTC
Modified
2026-09-10 12:25 UTC

Affected packages and fixes

wagtail

PyPI · All systems

Affected

  • introduced 0, fixed 7.0.9 (ecosystem)

Fixed versions

7.0.9

Fix

  • Fixed version 7.0.9
    pip install --upgrade wagtail==7.0.9

wagtail

PyPI · All systems

Affected

  • introduced 7.1, fixed 7.3.4 (ecosystem)

Fixed versions

7.3.4

Fix

  • Fixed version 7.3.4
    pip install --upgrade wagtail==7.3.4

wagtail

PyPI · All systems

Affected

  • introduced 7.4, fixed 7.4.3 (ecosystem)

Fixed versions

7.4.3

Fix

  • Fixed version 7.4.3
    pip install --upgrade wagtail==7.4.3

wagtail

PyPI · All systems

Affected

  • introduced 8.0rc1, fixed 8.0rc2 (ecosystem)

Fixed versions

8.0rc2

Fix

  • Fixed version 8.0rc2
    pip install --upgrade wagtail==8.0rc2

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences