{"id":"GHSA-92hv-j533-69wc","aliases":[],"url":"https://o3.security/vulnerability/GHSA-92hv-j533-69wc","summary":"Wagtail: Identification of documents by SHA1 hash","details":"### Impact\nBy passing specific HTTP headers to the document serve URL endpoint, an attacker was able to determine whether a document with a given ID matched a specified SHA1 hash, regardless of any permission restrictions on the document or knowing its filename. This could allow an attacker to determine whether a document with a specific known hash is present in the Wagtail document library.\n\nThis vulnerability does not expose the document's contents or any metadata beyond the already known SHA1 hash, and does not expose information about any documents for which the attacker does not know the SHA1 hash.\n\n### Patches\nPatched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.\n\n### Workarounds\nSite owners who are unable to upgrade can strip `If-Match` and `If-None-Match` from anonymous requests to `/documents/` at the reverse proxy, or use a custom document model without a `file_hash` attribute.\n\n### Acknowledgements\nMany thanks to Anand Himanshu 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:09Z","modified":"2026-08-20T19:00:08.966304856Z","cvss":{"score":3.7,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/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-92hv-j533-69wc"},{"type":"PACKAGE","url":"https://github.com/wagtail/wagtail"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-20T19:00:08.966304856Z"}}