The Documents and Images API 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.
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.
Site owners using Wagtail's API can avoid the vulnerability by adding authentication to the Documents and Images APIs.
Wagtail thanks independent security researcher Sanjok Karki @thesanjok for reporting this issue.
If there are any questions or comments about this advisory:
{
"github_reviewed": true,
"github_reviewed_at": "2026-05-08T20:21:38Z",
"cwe_ids": [
"CWE-280"
],
"severity": "MODERATE",
"nvd_published_at": null
}