Wagtail: Improper restriction handling on descendant collections in Documents and Images API
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 10, 2026
- Reserved
- Nov 6, 2026
Description
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, the Wagtail Documents and Images API V2 excludes directly restricted collections but fails to exclude their descendant collections, even though descendants inherit ancestor view restrictions. An API user can therefore list the filenames and names of documents and images stored in descendant collections that should remain private. This issue is fixed in versions 7.0.9, 7.3.4, 7.4.3, and 8.0rc2.
| Product | Versions |
|---|---|
| wagtail wagtail | < 7.0.9 Affected>= 7.1, < 7.3.4 Affected>= 7.4, < 7.4.3 Affected= 8.0rc1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | GitHub_M |
Weaknesses
- CWE-280 Improper Handling of Insufficient Permissions or Privileges
References
- https://github.com/wagtail/wagtail/security/advisories/GHSA-c2xx-cjmh-9q8f
- https://github.com/wagtail/wagtail/commit/320c37ed4624702d3864ce2364ce8536b2ce5115
- https://github.com/wagtail/wagtail/commit/9a69e0ad153c515ddd86ddd33d2c9d2554201568
- https://github.com/wagtail/wagtail/commit/b8a2040dfcdb97498b746254ad8bb4e47e21358c
- https://github.com/wagtail/wagtail/commit/cba80389067121c0fae41a3312e2daf76f0eb206
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.