Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-54261 EUVD-2026-41148GHSA-r6p4-grq7-xm4mPYSEC-2026-614

Wagtail: Improper permission handling in image preview

Published Jul 1, 2026 · Updated Jul 2, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
wagtail wagtail < 7.0.8, >= 7.1.0, < 7.3.3, >= 7.4.0, < 7.4.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI wagtail < 7.0.8 7.0.8 GHSA-r6p4-grq7-xm4m
PyPI wagtail >= 7.1, < 7.3.3 7.3.3 GHSA-r6p4-grq7-xm4m
PyPI wagtail >= 7.4, < 7.4.2 7.4.2 GHSA-r6p4-grq7-xm4m
PyPI wagtail < 7.0.8 · >= 7.1, < 7.3.3 · >= 7.4, < 7.4.2 7.0.8, 7.3.3, 7.4.2 PYSEC-2026-614

References