Loading advisory.
Loading advisory.
Wagtail: Identification of documents by SHA1 hash
By 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.
Published 2026-08-20 18:45 UTC · Modified 2026-11-10 19:07 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| wagtail | PyPI | < 7.0.9 >= 7.1, < 7.3.4 >= 7.4, < 7.4.3 >= 8.0rc1, < 8.0rc2 versions 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.5, 0.6, 0.7, 0.8, 0.8.1, 0.8.10, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9 and 273 more | 7.0.9, 7.3.4, 7.4.3, 8.0rc2 | pip install --upgrade 'wagtail>=7.0.9'pip install --upgrade 'wagtail>=7.3.4'pip install --upgrade 'wagtail>=7.4.3'pip install --upgrade 'wagtail>=8.0rc2' |
By 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.
This 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.
Patched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.
Site 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.
Many thanks to Anand Himanshu for reporting this issue.
If you have any questions or comments about this advisory:
Visit Wagtail's support channels
Email us at security@wagtail.org (view our security policy for more information).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.003 | v2026.06.15 |