Skip to main content

Craft CMS CVE-2026-44012

HIGH
Missing Authorization (CWE-862)
2026-05-06 https://github.com/craftcms/cms GHSA-33m5-hqp9-97pw
7.1
CVSS 4.0 · Vendor: https://github.com/craftcms/cms
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain CP credentials
  2. Delivery
    Authenticate to /admin
  3. Exploit
    Send POST to /assets/show-in-folder with arbitrary asset ID
  4. Install
    Receive JSON with filename and folder hierarchy
  5. C2
    Enumerate additional IDs
  6. Execute
    Compile asset metadata for restricted volumes
  7. Impact
    Leverage metadata for targeted follow-up attacks

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Craft CMS Control Panel account with accessCp permission granted. The vulnerability is exploitable when the Craft installation uses volume-level permissions (viewAssets or viewPeerAssets) to segregate asset access among multiple users, creating a privilege boundary the flaw bypasses. Successful exploitation against default single-admin configurations yields no privilege escalation (the sole admin already has all volume permissions). Multi-user deployments, multi-tenant SaaS platforms built on Craft, or agency instances managing client assets with segregated volumes represent the primary vulnerable deployment pattern. The flaw is not exploitable remotely by unauthenticated attackers; credential acquisition (via phishing, password reuse, or separate authentication bypass) is a prerequisite. The endpoint requires POST requests to /admin/assets/show-in-folder with valid asset IDs; attackers can enumerate IDs sequentially or harvest them from other Control Panel pages where asset references leak. Exploitation is limited to information disclosure (metadata only); actual file content exfiltration requires chaining with separate file-serving vulnerabilities or misconfigurations.

Impact

Real-world risk is moderate with narrow exploitability. The attack requires authenticated Control Panel access (not achievable remotely without credentials), limiting the threat to malicious insiders, compromised low-privilege accounts, or supply-chain attackers who gain CP access. CVSS vector data is absent from the submission, but the described attack profile maps to CVSS:3.x AV:N/AC:L/PR:L/UI:N (network-accessible endpoint, low complexity, requires low privileges). The disclosed data is metadata only - filenames and folder structures, not file contents - reducing immediate impact but enabling reconnaissance for chained attacks. Vendor classifies this as moderate-severity per Craft security policy. No EPSS score, KEV listing, or SSVC decision data provided; absence from CISA KEV and the lack of public exploit code suggest this is not being widely exploited. Patch availability (5.9.18) and the specificity of affected versions (5.0.0-RC1 through 5.9.17) make remediation straightforward. The key risk driver is deployment context: organizations with multi-tenant Craft instances, segregated client volumes, or confidential media assets face higher exposure than single-admin deployments. The pattern of incomplete patching (four prior similar flaws fixed, this one missed) raises concern about regression potential in future code changes.

Exploit ScenarioDerived

An authenticated user with minimal Control Panel privileges (accessCp only, no volume permissions) logs into the Craft CMS admin interface. Using browser developer tools or Burp Suite, the attacker sends POST requests to /admin/assets/show-in-folder with sequential or guessed asset IDs in the request body. The endpoint responds with JSON containing filename, volume handle/UID, and the full folder hierarchy for each asset, including private volumes the user is not authorized to view. The attacker iterates through ID ranges to map the complete asset structure of confidential client files, internal HR documents, or proprietary media. With this metadata, the attacker identifies high-value targets and may attempt to exploit separate vulnerabilities in file-serving endpoints, guess predictable URLs based on the discovered folder paths, or use social engineering with specific filenames to exfiltrate content.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 06, 2026

Authenticated control-panel users in Craft CMS 5.x can enumerate asset filenames and complete folder hierarchies (volume handles, UIDs, folder names, URIs) across all volumes by sending arbitrary asset IDs to the AssetsController::actionShowInFolder endpoint, bypassing volume-level viewAssets and viewPeerAssets permission checks. The flaw stems from an incomplete February 2026 patch wave that fixed four sibling endpoints but missed this method, introduced 13 days before the patch release. No public exploit identified at time of analysis; vendor-released patch fixes 5.9.18 and later. This information disclosure vulnerability enables reconnaissance for follow-up attacks against restricted asset volumes.

RemediationAI

Upgrade to Craft CMS 5.9.18 or later, which adds the missing requireVolumePermissionByAsset and requirePeerVolumePermissionByAsset checks to AssetsController::actionShowInFolder per commit e3f3eaab3d85badd713cfc2c24e5f0792ecdb586. Composer users should run composer update craftcms/cms and deploy the updated vendor directory. Review the GitHub advisory at https://github.com/craftcms/cms/security/advisories/GHSA-33m5-hqp9-97pw for any additional vendor guidance. If immediate upgrade is not feasible, apply defense-in-depth compensating controls: restrict Control Panel access to trusted users only (review and revoke accessCp permission for any non-essential accounts), enable IP allowlisting for the /admin path if Craft configuration supports it (limits CP access to known networks, reducing insider threat surface but breaks remote administration), and audit recent CP access logs for anomalous asset enumeration patterns (rapid sequential requests to assets/show-in-folder with incrementing IDs). Note that IP restrictions may disrupt legitimate remote work; assess operational trade-offs. No workaround fully mitigates the flaw without patching.

Affected Packages

composer craftcms/cms fix: 5.9.18

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in composer

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Craft CMS's AssetsController provides REST-style endpoints for asset management in the Control Panel. The actionShowInFolder method at src/controllers/AssetsController.php:1437 performs asset retrieval using Asset::findOne($assetId) without applying editable or savable query scopes that filter by user permissions. While the method calls requireCpRequest() to enforce accessCp permission (the base right to access the Control Panel interface), it omits the two volume-permission checks added to parallel endpoints in commit e3f3eaab during the February 25 patch wave: requireVolumePermissionByAsset('viewAssets') and requirePeerVolumePermissionByAsset('viewPeerAssets'). These methods verify that the requesting user holds explicit view permissions on the asset's parent volume. The missing check exemplifies CWE-862 (Missing Authorization) - the endpoint authenticates the user but fails to authorize access to the resource. Craft's permission model separates Control Panel access from volume-level grants; users may have accessCp but zero volume permissions, creating a privilege boundary this vulnerability crosses. The flaw is compositionally identical to GHSA-x76w-8c62-48mg, GHSA-vgjg-248p-rfm2, GHSA-5pgf-h923-m958, and GHSA-3pvf-vxrv-hh9c, all of which were patched in the same commit but targeted sibling controller methods.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/craftcms/cms) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/craftcms/cms) · only source for this CVE.

CVSS VectorVendor: https://github.com/craftcms/cms

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 12, 2026 - 21:22 NVD
7.1 (HIGH)

DescriptionCVE.org

Summary

AssetsController::actionShowInFolder() fetches an asset by ID and returns its filename and complete folder hierarchy (including volume handle, volume UID, folder names, folder UIDs, and folder URI paths) without checking whether the requesting user has viewAssets or viewPeerAssets permission on the asset’s volume. Any authenticated CP user - even one with zero volume permissions - can enumerate asset filenames and the full folder structure of any volume by supplying arbitrary asset IDs.

This follows the exact same incomplete-patch pattern as four GHSAs merged on 2026-02-25 (GHSA-x76w-8c62-48mg, GHSA-vgjg-248p-rfm2, GHSA-5pgf-h923-m958, GHSA-3pvf-vxrv-hh9c), all of which added requireVolumePermissionByAsset() + requirePeerVolumePermissionByAsset() to sibling AssetsController actions. The actionShowInFolder method was introduced thirteen days before the patch wave and was not included in it.

Details

The vulnerability is in src/controllers/AssetsController.php at line 1437. The method:

  1. Calls requireCpRequest() - verifies the request targets the CP, enforces accessCp permission via Controller::_enforceAllowAnonymous(), but does NOT enforce any volume-level permission.
  2. Fetches any asset by ID with Asset::findOne($assetId) - no editable/savable scope filter, so all assets across all volumes are reachable.
  3. Returns sensitive structural data via JSON.

Impact

  • Any authenticated control panel user with only accessCp permission can discover the filenames and complete folder structure (names, UIDs, handles, URIs) of assets in volumes they are not authorized to access.
  • Sensitive volume structures - private document repositories, confidential media, internal file names - are exposed to any user who can log into the control panel.
  • This enables targeted follow-up attacks: an attacker who knows a private asset’s filename and folder path may have other avenues to exfiltrate the actual file.

Resources

https://github.com/craftcms/cms/commit/e3f3eaab3d85badd713cfc2c24e5f0792ecdb586

Executive ViewAI

Why It Matters

Craft CMS 5.x contains an authentication bypass in asset management that allows authenticated control-panel users to enumerate sensitive folder structures and filenames across all volumes, regardless of assigned permissions. This information disclosure vulnerability enables attackers with basic panel access to map restricted asset repositories and conduct reconnaissance for targeted attacks, potentially exposing confidential media and project structures.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is impossible: restrict control-panel user accounts to minimum required roles; disable asset management access for non-essential accounts; monitor AssetsController logs for repeated actionShowInFolder requests with varied asset IDs; implement WAF rules to rate-limit or block asset enumeration patterns if logs reveal suspicious activity.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

pkg:composer/craftcms_cms

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy