Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-52291

published high CVSS 3.1 · 8.5

Craft has a Local File System Validation Bypass Leading to File Overwrite, Sensitive File Access, and Potential Code Execution

Published
13 Nov 2024, 16:12:14 UTC
Updated
13 Nov 2024, 18:52:15 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
craftcms — cms>= 5.0.0-RC1, < 5.4.6 · >= 4.0.0-RC1, < 4.12.5 Affected Not stated GitHub_M
craftcms — craft_cms0 through 5.0.0-RC1 · 0 to < 5.4.6 · 0 through 4.0.0-RC1 · 0 to < 4.12.5 · Other versions: unknown Affected Not stated CISA-ADP

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
craftcms cms >= 5.0.0-RC1, < 5.4.6 (affected)>= 4.0.0-RC1, < 4.12.5 (affected) GitHub_M · cna
craftcms craft_cms 0 through 5.0.0-RC1 (affected · custom)0 to < 5.4.6 (affected · custom)0 through 4.0.0-RC1 (affected · custom)0 to < 4.12.5 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

Craft has a Local File System Validation Bypass Leading to File Overwrite, Sensitive File Access, and Potential Code Execution

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
a90e236f4b024a0fddd71764e962cca09ac9f9e3dd40eff56eac895ce7e817c1
Ingested
23 Sep 2026, 08:30:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected