GHSA-92hv-j533-69wc: Low severity pip/wagtail vulnerability

Published Aug 20, 2026
·
Updated

Impact 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.

Patches Patched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.

Workarounds 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 filehash attribute.

Acknowledgements Many thanks to Anand Himanshu for reporting this issue.

For more information 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).

Affected Software

4 affected componentsFixes available
pip/wagtail=8.0rc1
8.0rc2
pip/wagtail>=7.4<7.4.3
7.4.3
pip/wagtail>=7.1<7.3.4
7.3.4
pip/wagtail<7.0.9
7.0.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/wagtail to a version that resolves this vulnerability.

    Fixed in 8.0rc2
  2. Upgrade

    Upgrade pip/wagtail to a version that resolves this vulnerability.

    Fixed in 7.4.3
  3. Upgrade

    Upgrade pip/wagtail to a version that resolves this vulnerability.

    Fixed in 7.3.4
  4. Upgrade

    Upgrade pip/wagtail to a version that resolves this vulnerability.

    Fixed in 7.0.9
  5. Upgrade

    Upgrade Wagtail to a version that resolves this vulnerability.

    Fixed in 7.0.9
  6. Upgrade

    Upgrade Wagtail to a version that resolves this vulnerability.

    Fixed in 7.3.4
  7. Upgrade

    Upgrade Wagtail to a version that resolves this vulnerability.

    Fixed in 7.4.3
  8. Upgrade

    Upgrade Wagtail to a version that resolves this vulnerability.

    Fixed in 8.0rc2
  9. Configuration

    For anonymous requests to the Wagtail document serve URL endpoint (/documents/), configure the reverse proxy to strip the If-Match and If-None-Match headers.

    Reverse proxy in front of Wagtail Remove HTTP headers from anonymous requests to /documents/ = strip If-Match and If-None-Match
  10. Configuration

    As a workaround when unable to upgrade, use a custom Wagtail document model that does not include a file_hash attribute.

    Wagtail custom document model Presence of file_hash attribute = use a custom document model without a file_hash attribute

Event History

Aug 20, 2026
Advisory Published
via GitHub·06:45 PM
Data Sourced
via GitHub·06:45 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What must an attacker know to exploit this issue?

An attacker must know a document ID and a specific SHA1 hash to test. They can use specially crafted HTTP headers against the document serve URL to determine whether that document matches the known hash.

2

What information is exposed if exploitation succeeds?

The issue reveals only whether a document with the specified ID matches the attacker’s already known SHA1 hash. It does not disclose document contents, filenames, or other metadata, and it cannot reveal information about documents whose SHA1 hashes are unknown.

3

How can exposure be reduced if Wagtail cannot be upgraded immediately?

At the reverse proxy, strip the If-Match and If-None-Match headers from anonymous requests to /documents/. Alternatively, use a custom document model that does not have a file_hash attribute.

4

Which releases contain the fix?

Patched releases are Wagtail 7.0.9, 7.3.4, 7.4.3, and 8.0rc2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203