Craft CMS CVE-2026-44012
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain CP credentials
-
DeliveryAuthenticate to /admin
-
ExploitSend POST to /assets/show-in-folder with arbitrary asset ID
-
InstallReceive JSON with filename and folder hierarchy
-
C2Enumerate additional IDs
-
ExecuteCompile asset metadata for restricted volumes
-
ImpactLeverage 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
Lifecycle Timeline
1DescriptionCVE.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:
- Calls
requireCpRequest()- verifies the request targets the CP, enforcesaccessCppermission viaController::_enforceAllowAnonymous(), but does NOT enforce any volume-level permission. - Fetches any asset by ID with
Asset::findOne($assetId)- noeditable/savablescope filter, so all assets across all volumes are reachable. - Returns sensitive structural data via JSON.
Impact
- Any authenticated control panel user with only
accessCppermission 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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-33m5-hqp9-97pw
NVD
CVE.org
EPSS
Exploit-DB