7.2

CVE-2023-40035: Craft CMS vulnerable to Remote Code Execution via validatePath bypass

Modified
Published 23-08-2023Last modified 02-10-2024

Vulnerability summary

CVE-2023-40035 is a high (CVSS 7.2) Injection vulnerability in craftcms cms. EPSS estimates a 2.32% chance of exploitation in the next 30 days, higher than 83.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
39/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (CVE.org)
EPSS score
2.32%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 23-08-2023
    PublishedVulnerability first disclosed.
  2. 02-10-2024
    Last modifiedVulnerability information updated.

Description

Craft is a CMS for creating custom digital experiences on the web and beyond. Bypassing the validatePath function can lead to potential remote code execution. This vulnerability can lead to malicious control of vulnerable systems and data exfiltrations. Although the vulnerability is exploitable only in the authenticated users, configuration with ALLOW_ADMIN_CHANGES=true, there is still a potential security threat (Remote Code Execution). This issue has been patched in version 4.4.15 and version 3.8.15.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

2.32%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.32% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Cms

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Craftcms2 products
  • cms≥ 4.0.0-RC1, < 4.4.15 | ≥ 3.0.0, < 3.8.15
  • craft_cmsEOL≥ 3.0.0, < 3.8.15 | ≥ 4.0.0, < 4.4.15 | 4.0.0:rc1

1 vendor · 2 products

References

4 links