Skip to content
OpenAdvisories
High · 7.1 CVE-2026-44012 EUVD-2026-29836GHSA-33m5-hqp9-97pw

Craft CMS: Missing Volume Permission Check in AssetsController::actionShowInFolder Allows Information Disclosure

Published May 12, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

Description

Craft CMS is a content management system (CMS). From 5.0.0-RC1 to before 5.9.18, 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 vulnerability is fixed in 5.9.18.

Affected products

VendorProductAffectedFixed
craftcms cms >= 5.0.0-RC1, < 5.9.18 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms >= 5.0.0-RC1, < 5.9.18 5.9.18 GHSA-33m5-hqp9-97pw

References