Wagtail: Improper permission handling in image preview
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Wagtail is an open source content management system built on Django. In versions prior to 7.0.8, 7.3.3 and 7.4.2, due to a missing permission check on the image preview endpoint, a user with access to the Wagtail admin can preview any image. The existing data of the image object itself is not exposed. The vulnerability is not exploitable by an ordinary site visitor without access to the Wagtail admin. This issue has been fixed in versions 7.0.8, 7.3.3, and 7.4.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| wagtail | wagtail | before 7.0.8; 7.1.0 to before 7.3.3; 7.4.0 to before 7.4.2 | 7.0.8, 7.3.3, 7.4.2 | Patch available | CNA |
| — | wagtail (PyPI) | before 7.0.8 | 7.0.8 | Patch available | GHSA-r6p4-grq7-xm4m |
| — | wagtail (PyPI) | 7.1 to before 7.3.3 | 7.3.3 | Patch available | GHSA-r6p4-grq7-xm4m |
| — | wagtail (PyPI) | 7.4 to before 7.4.2 | 7.4.2 | Patch available | GHSA-r6p4-grq7-xm4m |
- wagtail Vendorwagtail Affected before 7.0.8; 7.1.0 to before 7.3.3; 7.4.0 to before 7.4.2 Fixed in 7.0.8, 7.3.3, 7.4.2 Patch available CNA
- wagtail (PyPI) Vendor— Affected before 7.0.8 Fixed in 7.0.8 Patch available GHSA-r6p4-grq7-xm4m
- wagtail (PyPI) Vendor— Affected 7.1 to before 7.3.3 Fixed in 7.3.3 Patch available GHSA-r6p4-grq7-xm4m
- wagtail (PyPI) Vendor— Affected 7.4 to before 7.4.2 Fixed in 7.4.2 Patch available GHSA-r6p4-grq7-xm4m
Remediation
- Fix · CNA wagtail (wagtail) Fixed in 7.0.8, 7.3.3, 7.4.2
- Fix · GHSA-r6p4-grq7-xm4m wagtail (PyPI) Fixed in 7.0.8 Advisory →
- Fix · GHSA-r6p4-grq7-xm4m wagtail (PyPI) Fixed in 7.3.3 Advisory →
- Fix · GHSA-r6p4-grq7-xm4m wagtail (PyPI) Fixed in 7.4.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-54261
- 2026-10-03 Alias added: GHSA-r6p4-grq7-xm4m
References
More Wagtail vulnerabilities
- TI-2026-39163 Wagtail: Reflected XSS in dynamic image URL generator view CVSS 3.1HIGH 7.3
- TI-2020-08875 Possible XSS attack in Wagtail CVSS 3.1MEDIUM 6.8
- TI-2023-13342 Wagtail vulnerable to stored Cross-site Scripting attack via ModelAdmin views CVSS 3.1MEDIUM 6.4
- TI-2026-32180 Wagtail: Improper restriction handling on Documents and Images API CVSS 3.1MEDIUM 5.3
- TI-2026-22558 Wagtail: Improper escaping of HTML (Cross-site Scripting) in simple_translation admin interface CVSS 3.1MEDIUM 6.1
- TI-2026-22557 Wagtail: Improper escaping of HTML (Cross-site Scripting) on TableBlock class attributes CVSS 3.1MEDIUM 6.1
Sources
- CVE-2026-54261 · CVE Program
- CVE-2026-54261 · NVD
- FIRST EPSS
- GHSA-r6p4-grq7-xm4m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences