Servers and applications
CVE-2026-54261
Improper permission handling in image preview
- Severity
- Medium 6.5
- Published
- 15 Jun 2026
- Last changed
- 2 Jul 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 7.0.8, 7.3.3, 7.4.2
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- CWE-280
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-r6p4-grq7-xm4m
- Sources
- NVD, Project advisories (GitHub)
Description
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.
Workarounds
For sites that cannot easily upgrade to a current supported version, the vulnerability can be patched by adding the following code to urls.py URL pattern declarations to override the vulnerable view.
Affected software
| Software | Affected versions |
|---|---|
WagtailServers and applications · cpe:a:torchbox:wagtail |
|
WagtailServers and applications · github:wagtail/wagtail |
|
About Wagtail
website content management system
- Weekly downloads (PyPI)
- 159,203PyPI Stats, 15 Nov 2026
- GitHub stars
- 20,744GitHub, 15 Nov 2026
- Forks
- 4,755GitHub, 15 Nov 2026
- Latest release
- v8.1GitHub, 15 Nov 2026
- Released
- 2 Nov 2026GitHub
- License
- BSD licensesWikidata
- Written in
- Python, DjangoWikidata
- First released
- 2014Wikidata
- First published on GitHub
- 3 Feb 2014GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.1 | 8.1 | Until 4 May 2027 |
| 8.0 | 8.0.1 | Until 2 Feb 2027 |
| 7.4 (LTS)LTS | 7.4.4 | Until 2 Nov 2027 |
| 7.3 | 7.3.4 | Ended 25 Aug 2026 |
| 7.2 | 7.2.3 | Ended 4 May 2026 |
| 7.1 | 7.1.3 | Ended 2 Feb 2026 |
From endoflife.date.
Vulnerabilities in Wagtail
- In our list
- 39
- Published in the last 12 months
- 27
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- GHSA-4pg7-87vv-vrh7Stored XSS attack via v3 write API and third-party HTML editorsHigh 7.3 20 Oct 2026
- GHSA-3xgh-xc8p-9h54Improper restriction handling on Pages admin API for ancestor pagesMedium 4.3 20 Oct 2026
- GHSA-jrgm-fhgv-hmj9Improper restriction handling on API v3 (preview) pages endpointMedium 4.3 20 Oct 2026
- GHSA-g6cr-c9h3-6j2mFormula injection via XLSX exportMedium 6.5 20 Oct 2026
- GHSA-jm43-45cc-q9rrCross-Collection authorization bypass via Collection privacy settingsMedium 6.5 20 Oct 2026
- GHSA-jm5p-837g-rv8gImproper restriction handling on Page translation API endpointMedium 6.5 20 Aug 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-54261
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-54261
- GitHub Advisory Database https://github.com/advisories/GHSA-r6p4-grq7-xm4m
- github.com https://github.com/wagtail/wagtail/security/advisories/GHSA-r6p4-grq7-xm4m