wagtail
Affected
- introduced
0, fixed7.0.9(ecosystem)
Fixed versions
7.0.9
Fix
- Fixed version
7.0.9pip install --upgrade wagtail==7.0.9
Advisory
Also known as: CVE-2026-123820
Wagtail: Improper restriction handling on descendant collections in Documents and Images API
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:
Medium Basis: The source's own band: MODERATE
0, fixed 7.0.9 (ecosystem)7.0.9
7.0.9pip install --upgrade wagtail==7.0.97.1, fixed 7.3.4 (ecosystem)7.3.4
7.3.4pip install --upgrade wagtail==7.3.47.4, fixed 7.4.3 (ecosystem)7.4.3
7.4.3pip install --upgrade wagtail==7.4.38.0rc1, fixed 8.0rc2 (ecosystem)8.0rc2
8.0rc2pip install --upgrade wagtail==8.0rc2Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0