Advisory

GHSA-c2xx-cjmh-9q8f

Also known as: CVE-2026-123820

Summary

Wagtail: Improper restriction handling on descendant collections in Documents and Images API

Details

Impact

The Documents and Images API V2 incorrectly listed items in descendants of private collections, which should inherit the view restrictions defined on their ancestors. A user with access to the API could see the filename and name of documents and images in these descendant collections.

Patches

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

Workarounds

Site owners using Wagtail's API can avoid the vulnerability by adding authentication to the Documents and Images APIs.

Acknowledgements

Many thanks to Ta Duc Thien 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:45 UTC
Modified
2026-11-10 10:56 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