CVE-2026-125105
Wagtail is an open source content management system built on Django.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | wagtail | < 7.0.9 | 7.0.9 |
Affected products · Wagtail
| Product | Affected versions |
|---|---|
| Wagtail | from 7.4, before 7.4.3 from 7.1, before 7.3.4 Versions < 7.0.9, = 8.0rc1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-92hv-j533-69wc
- https://github.com/wagtail/wagtail/security/advisories/GHSA-92hv-j533-69wc
- https://github.com/wagtail/wagtail/commit/2db8a92ab888467bdd008b8e098c3d94d7da25f3
- https://github.com/wagtail/wagtail/commit/a1402376889be87cfc413cf9f2694a547d2b77c7
- https://github.com/wagtail/wagtail/commit/c4c38746855a562f451838fbfe0c77dab2c61829
- https://github.com/wagtail/wagtail/commit/f05649908fb727035108194792fb5e4f9bb6c1b8
- https://github.com/wagtail/wagtail/releases/tag/v7.0.9
- https://github.com/wagtail/wagtail/releases/tag/v7.3.4
- https://github.com/wagtail/wagtail/releases/tag/v7.4.3
- https://github.com/wagtail/wagtail/releases/tag/v8.0rc2