cvedb.io
CVE-2024-52291
HIGH · CVSS 8.4
EPSS exploitation probability: 0%
Published 2024-11-13T17:15:12.087 · Last modified 2026-06-17T08:06:57.110

Summary

Craft is a content management system (CMS). A vulnerability in CraftCMS allows an attacker to bypass local file system validation by utilizing a double file:// scheme (e.g., file://file:////). This enables the attacker to specify sensitive folders as the file system, leading to potential file overwriting through malicious uploads, unauthorized access to sensitive files, and, under certain conditions, remote code execution (RCE) via Server-Side Template Injection (SSTI) payloads. Note that this will only work if you have an authenticated administrator account with allowAdminChanges enabled. This is fixed in 5.4.6 and 4.12.5.

Affected products

craftcms — craft_cms

Does this affect you?

Add your gear to cvedb and we'll alert you only when craftcms ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.