medium

GHSA-c2xx-cjmh-9q8f

PyPI · wagtail

Summary

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

Severity
medium
CVSS
5.3
CWE
CWE-280
Published
2026-08-20
Updated
2026-08-20

Advisory 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:

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.