{"id":"GHSA-c2xx-cjmh-9q8f","aliases":[],"url":"https://o3.security/vulnerability/GHSA-c2xx-cjmh-9q8f","summary":"Wagtail: Improper restriction handling on descendant collections in Documents and Images API","details":"### Impact\n\nThe Documents and Images [API V2](https://docs.wagtail.org/en/stable/advanced_topics/api/index.html) 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.\n\n### Patches\n\nPatched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.\n\n### Workarounds\n\nSite 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.\n\n\n### Acknowledgements\n\nMany thanks to Ta Duc Thien for reporting this issue.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Visit Wagtail's [support channels](https://docs.wagtail.org/en/stable/support.html)\n* Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our [security policy](https://github.com/wagtail/wagtail/security/policy) for more information).","published":"2026-08-20T18:45:14Z","modified":"2026-08-20T19:00:07.489126988Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"wagtail","fixedVersion":"7.0.9"},{"ecosystem":"PyPI","name":"wagtail","fixedVersion":"7.3.4"},{"ecosystem":"PyPI","name":"wagtail","fixedVersion":"7.4.3"},{"ecosystem":"PyPI","name":"wagtail","fixedVersion":"8.0rc2"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/wagtail/wagtail/security/advisories/GHSA-c2xx-cjmh-9q8f"},{"type":"PACKAGE","url":"https://github.com/wagtail/wagtail"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-20T19:00:07.489126988Z"}}