Craft CMS contains a code injection vulnerability that allows a remote attacker to execute arbitrary code.
Craft CMS contains a code injection flaw in its image transformation endpoint that allows an unauthenticated remote attacker to execute arbitrary code on the server. The weakness originates in the underlying Yii framework's object instantiation mechanism and affects all installations running versions 3.0.0-RC1 through below 3.9.15, 4.0.0-RC1 through below 4.14.15, and 5.0.0-RC1 through below 5.6.17. Active exploitation has been observed in the wild, with attackers deploying PHP file managers and webshells to achieve full server compromise.
The vulnerable endpoint, actions/assets/generate-transform, accepts POST request bodies that are passed into Yii's object instantiation logic without adequate sanitization. When a request body contains a __class key, the framework constructs a PHP object from attacker-supplied parameters at the point the image transformation object is created. This is a classic code injection pattern under CWE-94: attacker-controlled data crosses a trust boundary and is evaluated as executable code rather than treated as inert input. The flaw is described as an additional fix for CVE-2023-41892, indicating a prior related patch was incomplete.
An attacker sends unauthenticated POST requests to the actions/assets/generate-transform endpoint with a body containing a __class key and attacker-chosen class parameters. Against v4.x and v5.x installations, no meaningful precondition exists beyond network reachability, since the transformation object is constructed before the asset ID is validated. Against v3.x, the attacker must first identify a valid asset ID by incrementing the assetId parameter and observing whether the server returns HTTP 302 (valid) or HTTP 404 (invalid). Confirmed in-the-wild attacks used this path to download a PHP file manager, then upload additional webshells, yielding persistent server access.
This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
CRAFT_INSTALL_PATH/storage/logs/ for POST requests to actions/assets/generate-transform containing the string __class in the request body; presence indicates at minimum active scanning, and may indicate exploitation.actions/assets/generate-transform endpoint with incrementing assetId values from a single source IP, which indicates an attacker enumerating valid asset IDs as a precursor to exploitation on v3.x instances.actions/assets/generate-transform endpoint at the web application firewall or reverse proxy layer when the request body contains the string __class; the vendor explicitly identifies this as the malicious payload indicator.CRAFT_SECURITY_KEY environment variable, database credentials, and any other secrets stored as environment variables, and force a password reset for all CMS users before restoring public access.If Craft CMS runs inside your authorization boundary, yes. CVE-2025-32432 is listed in CISA's Known Exploited Vulnerabilities catalog, and its remediation deadline of April 3, 2026 has already passed. For a FedRAMP-authorized service, an unpatched KEV in your boundary is a finding. An overdue one is a finding your assessor and sponsoring agency can already see. At this point, you either remediate it now or formally document the mitigation and the delay.
Knox does not patch your software. Remediating Craft CMS is your responsibility under the FedRAMP shared-responsibility model. What Knox provides is the pre-authorized, single-tenant boundary to remediate within, along with continuous compliance monitoring and audit-artifact coverage that help you document the fix for your next assessment. The remediation work is yours to carry out; maintaining a defensible compliance posture while you do it is not something you have to manage on your own.
Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on an ongoing basis. For a CVE like CVE-2025-32432, that means exposure surfaces during continuous monitoring rather than waiting until an assessor flags it at a scheduled review.
Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.
If CVE-2025-32432 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing the finding out now and documenting why the deadline was missed is what keeps your authorization intact and the agency relationship on solid footing.
Access continuous compliance
We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.










_Horizontal_RGB.png)







