Critical severityCISA KEVNVD Advisory· Published Apr 25, 2025· Updated Mar 21, 2026
Craft CMS Allows Remote Code Execution
CVE-2025-32432
Description
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from version 3.0.0-RC1 to before 3.9.15, 4.0.0-RC1 to before 4.14.15, and 5.0.0-RC1 to before 5.6.17, Craft is vulnerable to remote code execution. This is a high-impact, low-complexity attack vector. This issue has been patched in versions 3.9.15, 4.14.15, and 5.6.17, and is an additional fix for CVE-2023-41892.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 3.0.0-RC1, < 3.9.15 | 3.9.15 |
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.14.15 | 4.14.15 |
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.6.17 | 5.6.17 |
Affected products
1Patches
1e1c85441fa47Fixed an RCE vulnerability
2 files changed · +7 −0
CHANGELOG.md+4 −0 modified@@ -1,5 +1,9 @@ # Release Notes for Craft CMS 3.x +## Unreleased + +- Fixed an RCE vulnerability. + ## 3.9.14 - 2024-12-19 [CRITICAL] - Fixed an RCE vulnerability.
src/controllers/AssetsController.php+3 −0 modified@@ -1197,6 +1197,9 @@ public function actionGenerateTransform(int $transformId = null): Response } else { $assetId = $this->request->getRequiredBodyParam('assetId'); $handle = $this->request->getRequiredBodyParam('handle'); + if (!is_string($handle)) { + throw new BadRequestHttpException('Invalid transform handle.'); + } $assetModel = Craft::$app->getAssets()->getAssetById($assetId); if ($assetModel === null) { throw new BadRequestHttpException('Invalid asset ID: ' . $assetId);
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
11- github.com/advisories/GHSA-f3gw-9ww9-jmc3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-32432ghsaADVISORY
- craftcms.com/knowledge-base/craft-cms-cve-2025-32432ghsaWEB
- github.com/craftcms/cms/blob/3.x/CHANGELOG.mdghsax_refsource_MISCWEB
- github.com/craftcms/cms/blob/4.x/CHANGELOG.mdghsax_refsource_MISCWEB
- github.com/craftcms/cms/blob/5.x/CHANGELOG.mdghsax_refsource_MISCWEB
- github.com/craftcms/cms/commit/e1c85441fa47eeb7c688c2053f25419bc0547b47ghsax_refsource_MISCWEB
- github.com/craftcms/cms/security/advisories/GHSA-4w8r-3xrw-v25gghsaWEB
- github.com/craftcms/cms/security/advisories/GHSA-f3gw-9ww9-jmc3ghsax_refsource_CONFIRMWEB
- sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcmsghsaWEB
- www.cisa.gov/known-exploited-vulnerabilities-catalogghsaWEB
News mentions
0No linked articles in our index yet.