Skip to main content
Public proof of conceptFix available

CVE-2023-40035

A public proof of concept exists; no exploitation attested.

  • Published2023-08-23
  • Fixed in4.4.15 · 3.8.15
  • WeaknessCWE-74

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-08-2321:15CVE publishedNVD

Versions per branch

NVD · OSV
Craftcms craft cms
BranchAffectedFixed in
4.x≥ 4.0.0, < 4.4.154.4.15
4.x≥ 4.0.0-RC1, < 4.4.154.4.15
3.x≥ 3.0.0, < 3.8.153.8.15
4.0= 4.0.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • craftcms cms
    Affected
    • = >= 4.0.0-RC1, < 4.4.15no fix stated
    • = >= 3.0.0, < 3.8.15no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-08-23

Fix

  1. Update Craftcms craft cms to 4.4.15 · 3.8.15

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2024-10-02
  • CNACVSS 3.17.2known since 2026-10-23
  • NVDCVSS 3.17.2read 2026-10-23
  • CNAweakness (CWE)CWE-74known since 2026-10-23
  • FIRST EPSSEPSS score2.3 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2023-08-21

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
2023-08-23
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-44wr-rmwq-3phw

Frequently asked questions

What is CVE-2023-40035?

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.

Is CVE-2023-40035 actively exploited?

A proof-of-concept exploit exists for CVE-2023-40035, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2023-40035?

CVE-2023-40035 has a CVSS v3 base score of 7.2 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Running craftcms/cms? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record