CVE-2024-52291
CVE-2024-52291 is a high-severity vulnerability in Craftcms Craft Cms with a CVSS 3.x base score of 8.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.
Key facts
- Severity: High (CVSS 3.x base score 8.4)
- EPSS exploit prediction: 1% (63rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-3276
- Weakness: CWE-22
- Affected product: Craftcms Craft Cms
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2024-52291?
- 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.
- How severe is CVE-2024-52291?
- CVE-2024-52291 has a CVSS 3.x base score of 8.4, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-52291 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (63rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-52291?
- CVE-2024-52291 primarily affects Craftcms Craft Cms. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-52291?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-52291 have an EU (EUVD) identifier?
- Yes. CVE-2024-52291 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-3276.
- When was CVE-2024-52291 published?
- CVE-2024-52291 was published on 2024-11-13 and last updated on 2026-06-17.
References
Affected products (5)
- cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*
More vulnerabilities in Craftcms Craft Cms
- CVE-2025-32432 — Critical (CVSS 10.0): Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from…
- CVE-2023-41892 — Critical (CVSS 10.0): Craft CMS is a platform for creating digital experiences. This is a high-impact, low-complexity attack vector. Users…
- CVE-2026-32267 — Critical (CVSS 9.8): Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.6 and from version…
- CVE-2024-56145 — Critical (CVSS 9.8): Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected…
- CVE-2024-37843 — Critical (CVSS 9.8): Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.
- CVE-2021-27903 — Critical (CVSS 9.8): An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution…
All CVEs affecting Craftcms Craft Cms →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…