Advisory

GHSA-h54r-xq46-qwqm

Also known as: CVE-2026-54259, PYSEC-2026-612

Summary

Wagtail: Improper restriction handling on Documents and Images chosen endpoints

Details

Impact
The Documents and Images chooser's chosen endpoint incorrectly listed items for which the user has not been granted choose permission. A user with access to the Wagtail admin could see the filename and name and URLs of documents and images in those collections.

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.8, 7.3.3, 7.4.2.

Workarounds
N/A

Acknowledgements
Many thanks to @harshakshit 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:40 UTC
Modified
2026-08-20 18:45 UTC

Affected packages and fixes

wagtail

PyPI · All systems

Affected

  • introduced 0, fixed 7.0.8 (ecosystem)

Fixed versions

7.0.8

Fix

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

wagtail

PyPI · All systems

Affected

  • introduced 7.1, fixed 7.3.3 (ecosystem)

Fixed versions

7.3.3

Fix

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

wagtail

PyPI · All systems

Affected

  • introduced 7.4, fixed 7.4.2 (ecosystem)

Fixed versions

7.4.2

Fix

  • Fixed version 7.4.2
    pip install --upgrade wagtail==7.4.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences