cvedb.io
CVE-2023-32679
HIGH · CVSS 7.2
EPSS exploitation probability: 0%
Published 2023-05-19T20:15:09.310 · Last modified 2026-06-17T05:59:22.420

Summary

Craft CMS is an open source content management system. In affected versions of Craft CMS an unrestricted file extension may lead to Remote Code Execution. If the name parameter value is not empty string('') in the View.php's doesTemplateExist() -> resolveTemplate() -> _resolveTemplateInternal() -> _resolveTemplate() function, it returns directly without extension verification, so that arbitrary extension files are rendered as twig templates. When attacker with admin privileges on a DEV or an improperly configured STG or PROD environment, they can exploit this vulnerability to remote code execution. Code execution may grant the attacker access to the host operating system. This issue has been addressed in version 4.4.6. Users are advised to upgrade. There are no known workarounds for this v

Affected products

craftcms — craft_cms

Does this affect you?

Add your gear to cvedb and we'll alert you only when craftcms ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.