~ / search / GHSA-p5gm-92h4-6pv6

GHSA-p5gm-92h4-6pv6

Wagtail has improper restriction handling on Documents and Images API

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-44201

Packages

EcosystemPackageAffectedFixed in
PyPI wagtail < 7.0.7 7.0.7
PyPI wagtail >= 7.1, < 7.3.2 7.3.2

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact The Documents and Images [API](https://docs.wagtail.org/en/stable/advanced_topics/api/index.html) incorrectly listed items in private collections. A user with access to the API could see the filename and name of documents and images in private collections. ### Patches Patched versions have been released as Wagtail 7.0.7 and 7.3.2. The new 7.4 LTS feature release also incorporates this fix. ### Workarounds Site owners using Wagtail's API can avoid the vulnerability by adding [authentication](https://docs.wagtail.org/en/stable/advanced_topics/api/v2/configuration.html#authentication) to the Documents and Images APIs. ### Acknowledgements Wagtail thanks independent security researcher Sanjok Karki @thesanjok for reporting this issue. ### For more information If there are any questions or comments about this advisory: * Visit Wagtail's [support channels](https://docs.wagtail.org/en/stable/support.html) * Send an email to [[email protected]](mailto:[email protected]) (view the [security policy](https://github.com/wagtail/wagtail/security/policy) for more information).

References

External links from the advisory. They lead to third-party sites.