All vulnerabilities

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.

From wagtail/wagtail's security advisory.

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.

Workarounds as given by wagtail/wagtail's security advisory.

Affected software

SoftwareAffected versions
WagtailServers and applications · cpe:a:torchbox:wagtail
  • Every version before 7.0.8
  • From 7.1 before 7.3.3
  • From 7.4 before 7.4.2
WagtailServers and applications · github:wagtail/wagtail
  • From 7.4 before 7.0.8

About Wagtail

website content management system

From Wikidata, CC0 1.0.
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

ReleaseLatestSecurity fixes
8.18.1Until 4 May 2027
8.08.0.1Until 2 Feb 2027
7.4 (LTS)LTS7.4.4Until 2 Nov 2027
7.37.3.4Ended 25 Aug 2026
7.27.2.3Ended 4 May 2026
7.17.1.3Ended 2 Feb 2026

From endoflife.date.

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