Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. CVE-2026-33158

CVE-2026-33158: Craft CMS: Low-privilege users could read private asset contents when editing an asset (IDOR)

March 24, 2026 (updated March 25, 2026)

A low-privileged authenticated user can read private asset content by calling assets/edit-image with an arbitrary assetId that they are not authorized to view.

The endpoint returns image bytes (or a preview redirect) without enforcing a per-asset view authorization check, leading to potential unauthorized disclosure of private files.

References

  • github.com/advisories/GHSA-3pvf-vxrv-hh9c
  • github.com/craftcms/cms
  • github.com/craftcms/cms/commit/7290d91639e5e3a4f7e221dfbef95c9b77331860
  • github.com/craftcms/cms/releases/tag/4.17.8
  • github.com/craftcms/cms/releases/tag/5.9.14
  • github.com/craftcms/cms/security/advisories/GHSA-3pvf-vxrv-hh9c
  • nvd.nist.gov/vuln/detail/CVE-2026-33158

Code Behaviors & Features

Detect and mitigate CVE-2026-33158 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.0.0-RC1 before 4.17.8, all versions starting from 5.0.0-RC1 before 5.9.14

Fixed versions

  • 4.17.8
  • 5.9.14

Solution

Upgrade to versions 4.17.8, 5.9.14 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

packagist/craftcms/cms/CVE-2026-33158.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.