Security mailing lists by PureSourceCode

CVE-2023-40035

HIGH 7.2CVSS 3.1

Craft CMS vulnerable to Remote Code Execution via validatePath bypass

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.

Published
23 Aug 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74
Also known as
GHSA-44wr-rmwq-3phw
Sources
NVDJSONOSV GHSA-44wr-rmwq-3phwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.2 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.8.15 3.8.15
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.4.15 4.4.15
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
= 4.0.0
OSV Packagist craftcms/cms >= 4.0.0-RC1, < 4.4.15 4.4.15
OSV Packagist craftcms/cms >= 3.0.0, < 3.8.15 3.8.15

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Aug 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Aug 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.