PyPI: wagtail
GHSA-92hv-j533-69wc
Safety vulnerability ID: SFTY-20260820-51063
Affected versions of the Wagtail package are vulnerable to Information Disclosure due to improper handling of HTTP headers. The `/documents/` endpoint allows attackers to determine the presence of a document by matching a given SHA1 hash through the manipulation of `If-Match` and `If-None-Match` headers, bypassing permission restrictions. An attacker can exploit this by sending crafted requests to ascertain the existence of documents with known SHA1 hashes in the Wagtail document library, potentially revealing sensitive information about document presence.
Overview
Wagtail: Identification of documents by SHA1 hash
Advisory
wagtail – Improper Handling of Insufficient Permissions or Privileges
Affected Package
Also affects
---
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
