CVE-2026-54259

Wagtail: Improper restriction handling on Documents and Images chosen endpoints

Published Jul 1, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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, the Documents and Images chooser's chosen endpoint incorrectly listed items for which the user has not been granted choose permission. A user with access to the Wagtail admin could see the filename and name and URLs of documents and images in those collections. 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.

Analysis

AI-generated

Technical impact

Wagtail versions earlier than 7.0.8, 7.3.3, and 7.4.2 expose file names, URLs, and basic metadata for documents and images that an administrator does not have permission to choose. The flaw is an improper authorization check (CWE‑280) that leaks asset information but does not allow code execution, privilege escalation, or denial of service.

Affected Systems

Systems running Wagtail CMS before the listed patch versions—7.0.8, 7.3.3, or 7.4.2—are affected. Administrators accessing the Wagtail administrative interface who are not granted the "choose" permission can see the restricted media items.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity. The EPSS score of <1% shows a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an authenticated admin login, so external attackers without admin privileges cannot exploit the flaw. The overall risk for external actors remains low, while internal privileged users could obtain additional sensitive information.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wagtail to at least version 7.0.8, 7.3.3, or 7.4.2, where the chooser authorization is corrected.
  • Restrict the "choose" permission to only those users who truly need it and evaluate whether the Documents and Images chooser should be available to broader staff.
  • Audit custom or extended chooser endpoints to ensure they perform the same authorization checks and remove any that do not.

Generated by OpenCVE AI on July 31, 2026 at 15:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h54r-xq46-qwqm Wagtail: Improper restriction handling on Documents and Images chosen endpoints
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wagtail
Wagtail wagtail
Vendors & Products Wagtail
Wagtail wagtail
Type Values Removed Values Added
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, the Documents and Images chooser's chosen endpoint incorrectly listed items for which the user has not been granted choose permission. A user with access to the Wagtail admin could see the filename and name and URLs of documents and images in those collections. 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.
Title Wagtail: Improper restriction handling on Documents and Images chosen endpoints
Weaknesses CWE-280
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-280

    Improper Handling of Insufficient Permissions or Privileges

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 2, 2026, 3:49 PM
Reserved
Jun 12, 2026, 5:13 PM
Status
Analyzed
Published
Jul 1, 2026, 10:16 PM
Modified
Jul 2, 2026, 7:26 PM