Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
Wagtail may reveal if a document exists via hash
published 12 days ago
Summary
In certain older versions of Wagtail, a web request can be crafted to tell whether a specific document is stored, based only on its SHA1 hash. This does not expose the document contents or names, but it lets anyone confirm the presence of a file they already know the hash for. Upgrade to Wagtail 7.0.9, 7.3.4, 7.4.3 or later to stop this behavior.
What to do
- Update wagtail to version 7.0.9.
- Update wagtail to version 7.3.4.
- Update wagtail to version 7.4.3.
- Update wagtail to version 8.0rc2.
- Update wagtail core team + contributors wagtail to version 7.0.9.
- Update wagtail core team + contributors wagtail to version 7.3.4.
- Update wagtail core team + contributors wagtail to version 7.4.3.
- Update wagtail core team + contributors wagtail to version 8.0rc2.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | – | wagtail |
< 7.0.9 >= 7.1, < 7.3.4 >= 7.4, < 7.4.3 8.0rc1 Fix: upgrade to 7.0.9
|
| pip | wagtail core team + contributors | wagtail |
< 7.0.9 >= 7.1, < 7.3.4 >= 7.4, < 7.4.3 8.0rc1 Fix: upgrade to 7.0.9
|
Original advisory text
Wagtail: Identification of documents by SHA1 hash
Wagtail is an open source content management system built on Django. Prior to 7.0.9, 7.3.4, 7.4.3, and 8.0rc2, Wagtail applies ETag conditional request processing to the document serve endpoint before document permission and filename checks complete. An unauthenticated attacker who knows a document ID and a candidate SHA1 hash can submit If-Match or If-None-Match and distinguish the response, revealing whether that hash is present in the document library. The issue does not expose document contents, filenames, other metadata, or information about hashes the attacker does not already know. This issue is fixed in versions 7.0.9, 7.3.4, 7.4.3, and 8.0rc2.
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-280Improper Handling of Insufficient Permissions or Privileges
Timeline
Published9 Nov 2026
Updated14 Nov 2026
First seen20 Aug 2026
Sources
GHSA-92hv-j533-69wc · GHSA
Track software like this
Free during beta