Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-32432: Craft CMS Image Transform Pre-Authentication Remote Code Execution

Published Apr 25, 2025 · Updated 7 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS10.0Critical · v3.1
EPSS99.8%100th percentile
CISA KEVYesAdded Mar 20, 2026
In the wildActivePer CISA KEV
Vendor
Craft CMS
IdentifiersCVE-2025-32432CWE-94 · Improper Control of Generation of…

CVE-2025-32432 is an unauthenticated remote code execution vulnerability in Craft CMS image transformation functionality. It affects versions 3.0.0-RC1 through before 3.9.15, 4.0.0-RC1 through before 4.14.15, and 5.0.0-RC1 through before 5.6.17. Insufficient validation of request-controlled transformation configuration in actionGenerateTransform allows malicious object configuration to reach object-instantiation logic. Exploitation chains involving the Yii vulnerability CVE-2024-58136 use attacker-controlled PHP written to session or application-log storage and subsequent local file inclusion to execute code. The vulnerability is actively exploited and represents an additional fix related to CVE-2023-41892.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An unauthenticated attacker can execute arbitrary PHP and operating-system commands with the privileges of the Craft CMS web process, compromising application confidentiality, integrity, and availability. Resulting access can expose application secrets, database credentials, and CMS data, permit content modification and webshell installation, and provide a foothold for further intrusion. Observed exploitation has deployed webshells, XMRig cryptominers, and IPRoyal proxyware. Operating-system privilege escalation is not an inherent outcome of this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

No separate vendor workaround is documented. Until patching is complete, restrict network access to the affected application or vulnerable image-transformation action where operationally feasible. Review application, web-server, and network-security logs for suspicious transformation requests, particularly POST bodies containing unexpected object-class configuration such as __class. Monitor for unexpected executable files and child processes spawned by the web service. Isolate compromised servers and limit connectivity from public web servers to internal networks.

Remediation

Patch, then assume compromise.

Upgrade Craft CMS to at least version 3.9.15, 4.14.15, or 5.6.17 for the corresponding major branch, preferably the latest supported security release. These fixes were released on April 10, 2025. If compromise is suspected, patching alone is insufficient: verify application and database integrity, investigate persistence, remove malicious components or restore from known-good backups, and rotate exposed CMS, file-transfer, and database credentials together with affected cryptographic keys and certificates.

Public exploits

Exploits

17 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.

View more in app →
craftcms_preauth_rce_cve_2025_32432.rbThis repository contains a single Metasploit module targeting Craft CMS (versions 3.x, 4.x, and 5.x prior to 5.6.17) for an unauthenticated remote code execution vulnerability (CVE-2025-32432). The exploit abuses the image transform endpoint to inject a PHP payload into the session file, then triggers its execution via a PHP object injection gadget chain. The module is weaponized, supporting both PHP Meterpreter and command shell payloads, and requires no authentication. The main endpoints targeted are the image transform and admin dashboard endpoints of Craft CMS, and the exploit manipulates session files on the server. The code is written in Ruby and is structured as a standard Metasploit exploit module, with all logic contained in a single file.Disclosed Apr 14, 2025 · Framework: metasploit · ruby · networkWeaponizedCVE-2025-32432-PoCThis repository provides two Python scripts for exploiting CVE-2025-32432, a pre-authentication remote code execution vulnerability in CraftCMS versions 3.x, 4.x, and 5.x. The exploit leverages a two-step attack chain: first, it injects arbitrary PHP code into a session file via a GET request to the admin dashboard endpoint; second, it uses a POST request to the asset-transform endpoint with a crafted deserialization gadget to require and execute the session file, resulting in arbitrary command execution. The main script, 'craftcms_final_payload.py', automates this process, including brute-forcing the required assetId if not provided. The secondary script, 'craftcms_rce_php_check.py', is a low-impact probe that checks for exploitability by attempting to execute phpinfo(). The repository is well-documented, includes installation and usage instructions, and targets unauthenticated attackers over HTTP/HTTPS. The exploit is operational, providing a working payload for arbitrary shell command execution on vulnerable CraftCMS instances.CTY-Research-1 · Disclosed Jun 1, 2025 · python · networkOperationalAshwesker-CVE-2025-32432This repository contains a fully functional exploit for CVE-2025-32432, a critical pre-authentication remote code execution (RCE) vulnerability in Craft CMS versions 3.x, 4.x, and 5.x prior to their respective patched releases. The exploit is implemented in Python (CVE-2025-32432.py) and automates the attack by first extracting a CSRF token from the admin dashboard, then sending a specially crafted JSON payload to the /index.php?p=admin/actions/assets/generate-transform endpoint. This payload leverages PHP object deserialization to execute arbitrary PHP code (demonstrated with phpinfo). The script supports both single and multiple target modes, uses threading for efficiency, and writes results to a file. The README.md provides detailed vulnerability, exploitation, and mitigation information. The exploit is operational and can be used to verify and demonstrate RCE on vulnerable Craft CMS instances.Ashwesker · Disclosed Jul 16, 2025 · python · networkOperationalCVE-2025-32432This repository provides a comprehensive and operational exploit toolkit for CVE-2025-32432, a critical remote code execution (RCE) and information disclosure vulnerability in CraftCMS. The main exploit script (CVE-2025-32432.py) implements multiple session injection techniques by abusing the 'returnUrl' and 'a' parameters on various admin endpoints to inject PHP code into the session file. It then discovers a valid asset ID and crafts JSON payloads to trigger either information disclosure (via GuzzleHttp\Psr7\FnStream and phpinfo()) or RCE (via yii\rbac\PhpManager loading the session file). The exploit is highly automated, with robust output parsing, error handling, and debug options. An additional script (automated_testing.py) enables concurrent testing of multiple targets and saves results in JSON format. The repository includes detailed documentation (README.md, USAGE.md, exploit_summary.md) outlining usage, technical details, and mitigation advice. The exploit targets CraftCMS versions prior to 3.9.15, 4.14.15, and 5.6.17, and requires the ability to write and read PHP session files on the server. The attack vector is network-based, targeting exposed CraftCMS admin endpoints. Key fingerprintable endpoints include various admin URLs and the PHP session file path. The exploit is not a framework module but is mature and operational, providing both RCE and information disclosure capabilities.bambooqj · Disclosed Sep 23, 2025 · python · networkOperationalCVE-2025-32432This repository is a small standalone Python exploit for CVE-2025-32432, a pre-authentication remote code execution vulnerability in Craft CMS. It contains two files: a README describing the vulnerability, affected versions, and usage, and exploit.py, the actual exploit implementation. No external framework such as Metasploit or Nuclei is used. The exploit is operational and performs a full attack chain against a remote Craft CMS target. First, it establishes a session by requesting /index.php and extracting the PHPSESSID cookie. Second, if the operator does not provide a known asset ID, it brute-forces one by POSTing crafted JSON to /actions/assets/generate-transform and treating any non-404 response as a likely valid assetId. Third, it poisons the PHP session by sending a GET request to /index.php with query parameters including attacker-controlled PHP code in parameter a, relying on the vulnerable routing/session behavior to write raw input into /tmp/sess_<PHPSESSID>. Finally, it triggers deserialization by POSTing another crafted JSON object to /actions/assets/generate-transform, abusing the craft\\behaviors\\FieldLayoutBehavior -> yii\\rbac\\PhpManager gadget chain so itemFile points to the poisoned session file. When included, the injected PHP executes system('<command>'). Main exploit capabilities: unauthenticated remote command execution, optional asset ID brute-forcing, session establishment and cookie harvesting, session poisoning, and retrieval/display of server response content. The payload is basic but functional: arbitrary shell command execution through PHP's system() call. The script supports operator-supplied target URL, command, optional asset ID, brute-force range, timeout, and verbose logging. Fingerprintable targets and artifacts in code include the Craft CMS routes /index.php and /actions/assets/generate-transform, the PHP session cookie PHPSESSID, and the local server file path /tmp/sess_<PHPSESSID>. The exploit specifically targets Craft CMS versions 3.9.14 and earlier, 4.14.14 and earlier, and 5.6.16 and earlier, as stated in the repository.TheMursalin · Disclosed Apr 30, 2026 · python · markdown · web · networkOperationalCVE-2025-32432Small standalone Python exploit repository for CVE-2025-32432 targeting Craft CMS. The repo contains one main code file (exploit.py), a detailed README, requirements.txt, and license metadata. The exploit is not framework-based. Core capability: unauthenticated RCE against vulnerable Craft CMS by abusing the anonymous /actions/assets/generate-transform endpoint. The script obtains a CSRF token from /actions/users/session-info, poisons a server-side file (default nginx access.log) by sending PHP in the User-Agent header, then POSTs crafted handle[...] parameters so Craft/Yii instantiates yii\rbac\PhpManager with itemFile pointing to the poisoned file. Because PhpManager ultimately require()s itemFile, the injected PHP executes on the server. Operational flow in exploit.py: initialize a requests session with TLS verification disabled; optionally perform a lab-specific PATCH /login to obtain a coopsess cookie; fetch CSRF token; poison the log via GET /; trigger the vulnerable endpoint via POST /actions/assets/generate-transform; parse returned output; and optionally support reverse-shell execution with a locally spawned nc/ncat listener. The README also documents alternate itemFile paths and a more persistent header-driven PHP webshell concept. Notable targeting details: requires a reachable Craft CMS instance, a valid assetId, and a writable/parsable sink such as /var/log/nginx/access.log. The README states affected versions as Craft CMS <= 5.6.16, <= 4.15.2, <= 3.9.14, and Yii2 <= 2.0.49, with fixes in Craft 5.6.17+ and Yii2 2.0.50. Overall, this is a real operational PoC with built-in command execution and reverse-shell support rather than a mere detector.cd-ratel · Disclosed May 15, 2026 · python · markdown · web · networkOperationalPoC_CVE-2025-32432Repository is a small Python PoC set for CVE-2025-32432 affecting Craft CMS. It contains two executable scripts and minimal supporting files (README, LICENSE, requirements, .gitignore). `craftcms_rce_php_check.py` is a threaded scanner/checker that accepts a single URL or a file of URLs, detects Craft CMS version, extracts a CSRF token from the admin dashboard, and sends a crafted JSON payload to `/index.php?p=admin/actions/assets/generate-transform` to invoke `phpinfo()` through gadget/object abuse. If successful, it marks the target vulnerable and extracts useful environment details such as `CRAFT_DB_DATABASE` and the HOME directory, saving results to `vulnerable.txt`. `craftcms_final_payload.py` is the actual exploitation script: it detects version, brute-forces a valid `assetId` if one is not supplied, injects PHP code `<?=exec($_GET['cmd']);die();?>` into session-backed state via a crafted request to `/index.php` with `p=admin/dashboard`, extracts `CRAFT_CSRF_TOKEN` and `CraftSessionId`, then triggers the vulnerable asset transform action at `/index.php?p=actions/assets/generate-transform` with a malicious object structure referencing `/tmp/sess_<session_id>`. This yields arbitrary command execution with command output parsed from the HTTP response. Overall, the repository’s purpose is both vulnerability validation and practical RCE exploitation against vulnerable Craft CMS 3.x/4.x/5.x instances.n40y · Disclosed Jun 24, 2026 · python · web · networkOperationalCVE-2025-32432This repository is a small standalone exploit PoC for CVE-2025-32432, a pre-authentication RCE affecting Craft CMS via Yii2 behavior injection and __class override abuse. The repository contains 4 files: one Python exploit (exploit.py), a README with usage and attack flow, an ANALYSIS.md document with detailed vulnerability background and exploitation theory, and a VS Code settings file. The only executable exploit logic is in exploit.py. The exploit is implemented in Python using requests, urllib3, argparse, regex, and time. It is not part of a larger exploitation framework. The script performs a 4-stage attack chain: (1) GET /admin/login to obtain a CraftSessionId cookie and scrape the CRAFT_CSRF_TOKEN value; (2) poison the server-side PHP session file by sending a GET request to /index.php with p=admin/dashboard and an a parameter containing PHP code <?=passthru($_GET["cmd"]);die()?>; (3) brute-force a valid assetId by POSTing JSON to /index.php?p=admin/actions/assets/generate-transform using a behavior payload that passes validation with craft\behaviors\FieldLayoutBehavior but actually instantiates GuzzleHttp\Psr7\FnStream via __class; and (4) trigger code execution by POSTing another crafted JSON payload to the same generate-transform action, this time instantiating yii\rbac\PhpManager with itemFile set to the poisoned session file path so the injected PHP is included and executed. Main exploit capabilities: unauthenticated remote exploitation over HTTP(S), automatic CSRF/session handling, automatic asset ID brute-force, fallback session path retries, arbitrary command execution via cmd query parameter, and command output extraction from the HTTP response. The payload is operational rather than merely demonstrative because it includes a working command-execution primitive and practical automation, though payload customization is manual through the -c argument. Notable assumptions and targeting details: the target must expose Craft admin routes without prior authentication barriers that prevent session/token acquisition, must use a vulnerable Craft/Yii stack, and must store PHP sessions in predictable filesystem locations. The exploit specifically targets Craft CMS versions 3.0.0-RC1 through 5.6.16, matching the documentation in README.md and ANALYSIS.md. The README also includes example post-exploitation usage such as reading /etc/passwd or launching a reverse shell.c0gnit00 · Disclosed Jul 21, 2026 · python · markdown · network · webOperationalCVE-2025-32432-POCRepository contains a small standalone Python exploit PoC for Craft CMS CVE-2025-32432 and a README documenting usage and affected versions. The main entry point is exploit.py. The script is not part of a larger exploitation framework. Exploit structure and purpose: 1. It normalizes the target base URL and creates a requests session with TLS verification disabled. 2. It attempts to obtain a CSRF token by requesting several likely Craft CMS admin/login/front-controller URLs. 3. It builds multiple candidate asset transform endpoints and probes them with a phpinfo gadget payload rather than a normal transform request, specifically to avoid false negatives. 4. The phpinfo gadget uses a crafted object structure referencing craft\\behaviors\\FieldLayoutBehavior and GuzzleHttp\\Psr7\\FnStream with _fn_close set to phpinfo, confirming gadget execution when the response contains phpinfo markers. 5. If only validation is requested, the script stops after confirming vulnerability. 6. If a command is supplied, the exploit proceeds to a second stage: it identifies the session cookie, poisons a Craft return URL/session value with raw embedded PHP, then triggers inclusion of the corresponding PHP session file via a yii\\rbac\\PhpManager include chain from likely session directories. 7. The operator command is hex-encoded before transport to reduce quoting and metacharacter issues. The README explicitly supports simple commands and reverse-shell commands supplied by the user. Notable implementation details: - The code monkey-patches urllib3's HTTPConnectionPool._make_request to unquote URLs before sending, ensuring raw PHP tags survive request construction during session poisoning. - Discovery logic tests multiple route formats and asset IDs, making the PoC more reliable than simplistic single-endpoint checks. - The exploit supports manual override of endpoint, assetId, front controller, session directory list, and timeout. Overall assessment: this is a real, functional single-target unauthenticated web RCE PoC with both detection/confirmation and exploitation capability. It is more than a detector because it includes a command-execution chain, but it remains a standalone PoC rather than a weaponized framework module.theeomega · Disclosed Jul 23, 2026 · python · markdown · web · networkOperationalCVE-2025-32432This repository is a small standalone Go exploit for CVE-2025-32432 targeting Craft CMS pre-authenticated remote code execution. The repository contains only three files: a README describing the attack flow and usage, a minimal go.mod, and a single executable source file main.go that implements the exploit logic. The exploit workflow is fully offensive rather than diagnostic. It first creates an HTTP session with cookie jar support and disabled TLS verification. It requests /admin/login to obtain a CraftSessionId cookie and scrape a CSRF token from the HTML/JS response using a regex. It then performs session poisoning by sending a GET request to /index.php with a crafted query string containing embedded PHP code: <?=passthru($_GET["cmd"]);die()?>. After a short delay, it brute-forces asset IDs by repeatedly POSTing JSON to /index.php?p=admin/actions/assets/generate-transform using a crafted object structure; any response other than 404 is treated as a potentially valid assetId. Once a candidate assetId is found, the exploit sends a second crafted POST to the same generate-transform action, this time building an object graph that points itemFile to /var/lib/php/sessions/sess_<CraftSessionId>. It also appends the attacker-controlled cmd parameter to the request URL. If successful, the poisoned session file is included and the embedded PHP executes the supplied system command via passthru(), returning output in the HTTP response body. The program then strips trailing HTML and prints the command output. Notable capabilities include unauthenticated command execution and easy adaptation to a reverse shell, as documented in the README with a base64-encoded bash payload example. The code is operational but basic: it has hardcoded assumptions about PHP session storage location, brute-forces asset IDs up to 300, and relies on specific Craft CMS endpoints and gadget classes. There is no modular framework integration, persistence, or post-exploitation automation beyond arbitrary command execution.HeltonPojo · Disclosed Jul 30, 2026 · go · markdown · web · networkOperationalcraftcms-cve-2025-32432-rceRepository contains a single Python exploit script and a minimal README with an example reverse-shell invocation. The main file, craft_rce.py, is a standalone unauthenticated web RCE exploit targeting Craft CMS. It accepts a base URL, an arbitrary command, and an optional Host header. The exploit first monkey-patches urllib3 request handling so encoded request targets are sent unquoted, then sends a GET request to /index.php with a crafted parameter containing PHP code (<?=system($_GET["cmd"]);die()?>). This appears intended to poison server-side session content associated with the returned CraftSessionId cookie. Next, it requests /admin/login to scrape the CRAFT_CSRF_TOKEN from the HTML. Finally, it POSTs to /index.php?p=actions/assets/generate-transform with a malicious JSON body that abuses Yii/Craft object construction fields (__class, __construct()) to instantiate yii\rbac\PhpManager and point itemFile at /var/lib/php/sessions/sess_{session_id}. This causes the application to process the attacker-controlled session file and execute the supplied cmd parameter. The script then parses and prints the command output from the HTTP response. The README demonstrates operational use by base64-encoding a bash reverse shell and passing it as the command, showing the exploit is capable of full remote shell access, not just benign command execution.PsyGuy007-sys · Disclosed Aug 5, 2026 · python · markdown · web · networkOperationalCVE-2025-32432-PoCSmall standalone Go exploit repository with 4 files: LICENSE, README.md, go.mod, and a single code file main.go. The code is a direct PoC for CVE-2025-32432 against Craft CMS and is not part of a larger exploit framework. main.go implements the full attack chain: (1) poisonLog() sends an unauthenticated GET request to /index.php?p=admin/dashboard with a malicious a parameter containing PHP code and a chosen CraftSessionId cookie so the payload is written into a predictable PHP session file; (2) getCookiesandTokens() requests /admin and parses the HTML plus response cookies to recover the CSRF token material needed for the next step; (3) setupListener() starts a local TCP listener to catch the shell; and (4) exploit() POSTs JSON to /actions/assets/generate-transform, abusing Yii class/behavior injection to instantiate \yii\rbac\PhpManager with itemFile pointing to /var/lib/php/sessions/sess_<sessionId>, causing local file inclusion and execution of the poisoned PHP. The executed PHP reads the cmd query parameter, which contains a hardcoded Python3 reverse shell that connects back to the attacker and spawns /bin/sh -i. The tool is operational rather than just demonstrative because it automates token retrieval, exploitation, and listener setup, but the payload is basic and hardcoded rather than modular.EzraMansor · Disclosed Aug 7, 2026 · go · markdown · web · networkOperationalCVE-2025-32432This two-file repository contains a README and a standalone Python 3 exploit script for CVE-2025-32432 affecting specified Craft CMS 3.x, 4.x, and 5.x releases. The script is not tied to a major exploit framework. It monkey-patches urllib3's HTTPConnectionPool request method to URL-decode the final request URL, intending to preserve raw PHP tags in a session-poisoning query parameter. It visits the Craft login route to acquire a CraftSessionId cookie and CRAFT_CSRF_TOKEN, identifies a valid assetId by probing the generate-transform action, and submits a crafted JSON handle. The handle uses Yii __class and __construct() properties to instantiate yii\rbac\PhpManager with itemFile set to the poisoned /tmp session file. Requiring that file executes a PHP shell_exec wrapper whose cmd parameter is attacker controlled. The script supports arbitrary one-shot commands and an optional PHP reverse shell, parses output following the cve202532432= marker, disables TLS certificate warnings and verification for its session, and reports failures when expected session/CSRF artifacts or output are absent.e5dfdd568a75282b712b6d93a7a18e12 · Disclosed Sep 14, 2026 · python · web · networkOperationalCVE-2025-32432-exploit-by-P34NUTThis four-file repository contains one Python 3 exploit script, a README, MIT license, and .gitignore. It is a standalone, command-line exploit rather than a Metasploit, Nuclei, or other framework module. The Python entry point accepts a target URL, arbitrary command, optional known asset ID, and asset-ID scan limit. The exploit implements an alleged CVE-2025-32432 pre-authentication Craft CMS RCE chain: it requests the admin dashboard to collect a CraftSessionId, CRAFT_CSRF_TOKEN, and embedded CSRF token; identifies an asset ID; sends a crafted object graph to the asset transform action to invoke phpinfo and parse session.save_path; injects a URL-encoded PHP system($_GET['cmd']) webshell into session-associated data through the dashboard URL; and finally uses a crafted yii\\rbac\\PhpManager itemFile reference to load sess_<CraftSessionId>. The command output is returned in and printed from the final server response. HTTPS certificate verification is deliberately disabled, and urllib3's request implementation is monkey-patched to URL-decode request URLs before transmission. Notable implementation limitation: brute_force_asset_id uses `if r.status_code == 200 or 302`, which is always truthy in Python. Consequently, it returns the first asset ID whose request does not raise an exception, rather than reliably validating an asset. The README also instructs users to install requirements.txt, but no such file is present in the supplied repository. Despite these reliability issues, the script contains a concrete multi-stage exploitation chain and an executable arbitrary-command payload, not merely vulnerability detection.P34NUT2 · Disclosed Sep 16, 2026 · python · web · networkOperationalCVE-2025-32432-craftcms-rceThe repository contains one standalone Python exploit, a Markdown usage/debugging writeup, and an MIT license. It targets CVE-2025-32432 through Craft CMS's assets/generate-transform action. The documented chain instantiates craft\behaviors\FieldLayoutBehavior and yii\rbac\PhpManager, directs the latter's itemFile property to a poisoned PHP session file, and executes embedded PHP when that file is included. Visible code handles session acquisition, session-bound CSRF refresh, multiple action-route candidates, candidate session paths, and optional Base64-wrapped Bash reverse-shell construction. The main routine invokes asset discovery, PHP session-directory discovery, session poisoning, poisoning verification, and command execution; the implementations of those methods are absent from the truncated source. The README explains response-divergence asset probing and raw-socket delivery to avoid percent-encoding PHP delimiters. Notable observables include CraftSessionId, CRAFT_CSRF_TOKEN, X-CSRF-Token, transform JSON containing assetId and handle['as xyz'], and sess_<id> files. HTTPS certificate verification is disabled. There is no evidence of a framework integration, fixed command-and-control service, or malicious operator-side payload in the visible material. The README's usage commands reference craftcms_rce.py rather than the supplied filename. Repository URL, git reference, and archive size were not provided; blank values and zero represent unavailable metadata, not measured values. The working-exploit claim cannot be fully verified from the truncated source.l0lsuit · Disclosed Oct 12, 2026 · python · web · networkOperationalCVE-2025-32432Standalone Python exploit for CVE-2025-32432, not a Metasploit module despite referencing a similar Metasploit technique. Attacker-controlled asset-transform object configuration introduces a craft\behaviors\FieldLayoutBehavior gadget that instantiates yii\rbac\PhpManager with an attacker-selected itemFile, causing inclusion of poisoned PHP. The default method stores a PHP evaluator in a guest session's return URL, discovers session.save_path through a GuzzleHttp\Psr7\FnStream callback to phpinfo(), and includes the resulting session file. The alternative method poisons an nginx access log through the User-Agent and includes that log. Commands are base64-encoded and output is extracted using randomized markers. Neither method automatically falls back to the other, avoiding accidental duplicate command execution. The repository contains an MIT LICENSE, usage and vulnerability documentation in README.md, the main CLI implementation in craftcms_rce.py, and mocked unit tests in tests/test_craftcms_rce.py. Tests cover input validation, gadget construction, literal-PHP transport, session reuse, output extraction, and proxy/TLS options; they do not demonstrate successful exploitation of a live target. A useful request fingerprint is the default User-Agent craft-cve-2025-32432/1.0, alongside guest session-info requests and randomized 'as poc...' behavior configuration keys. No fixed command-and-control or exfiltration destination is visible. The supplied main file is truncated, so the exact transform route and full command wrappers cannot be independently inspected. Findings about omitted execution stages are supported by the README and unit tests. The documented fixed releases are 3.9.15, 4.14.15, and 5.6.17 for the respective release lines. No repository URL, git reference, or archive size was supplied; the four listed file sizes total 31,062 bytes, which is not an archive-size measurement.godylockz · Disclosed Nov 11, 2026 · python · webOperationalCVE-2025-32432This repository contains a proof-of-concept (PoC) exploit for CVE-2025-32432, a pre-authentication remote code execution (RCE) vulnerability in CraftCMS versions 4.x and 5.x. The exploit is implemented in a single Python script, 'craftcms_rce.py', which automates the process of detecting and exploiting the vulnerability. The script works by first retrieving a CSRF token from the CraftCMS admin dashboard, then sending a specially crafted JSON payload to the asset transform generation endpoint. This payload leverages PHP object injection to trigger code execution via the 'GuzzleHttp\Psr7\FnStream' class, with the default action being execution of 'phpinfo()' to verify exploitation. The script supports both single and multiple target modes, multi-threaded scanning, and outputs results to both the console and a CSV file ('vulnerable.txt'). The exploit extracts and reports sensitive information such as the database name and home directory from the target upon successful exploitation. The repository is well-documented, with a detailed README explaining usage, technical details, and output format. No hardcoded IPs or domains are present; the script takes user-supplied targets as input.Sachinart · Disclosed Apr 27, 2025 · python · markdown · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Craft CMSCraft Cmsapplication
FAQ

Frequently asked questions

Is CVE-2025-32432 exploited in the wild?
Yes. As of Nov 17, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 20, 2026.
Is there a public exploit for CVE-2025-32432?
Yes. Mallory tracks 17 public exploits or proofs of concept for CVE-2025-32432, the earliest disclosed Apr 14, 2025.
Is there a patch for CVE-2025-32432?
Upgrade Craft CMS to at least version 3.9.15, 4.14.15, or 5.6.17 for the corresponding major branch, preferably the latest supported security release. These fixes were released on April 10, 2025.
What products are affected by CVE-2025-32432?
Craft Cms.
How severe is CVE-2025-32432?
CVE-2025-32432 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 99.8% (100th percentile) as of Nov 17, 2026.
Activity feed

Recent activity

112 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
metasploit pull requestsNews · Nov 17, 2026Report Craft CMS trigger requests rejected with HTTP 414 by I-am-Krish · Pull Request #22150 · rapid7/metasploit-frameworkA pre-authentication remote code execution vulnerability in Craft CMS with an existing Metasploit exploit module. This pull request addresses reporting when exploit trigger requests containing payloads larger than approximately 8 KB are rejected with HTTP 414 because the payload is sent in the URL. It does not describe a patch for the underlying vulnerability.Read more ↗zeropath blogNews · Nov 6, 2026Brief Summary: Craft CMS CVE-2026-123488, Unauthenticated SQL Injection via the Element Search Endpoint - ZeroPath Blog | ZeroPathAn earlier critical Craft CMS vulnerability used as background on the vendor's incident response. Fixes were released on April 10, 2025, and the vendor subsequently found evidence suggesting exploitation. Recovery guidance included disabling web access, removing payloads or backdoors, updating software, and rotating keys and credentials. This history does not establish exploitation of CVE-2026-123488.Read more ↗medium mainekhackerNews · Sep 10, 2026Orion HTB Room Full Walkthought | by MainEkHacker | Sep, 2026 | MediumA pre-authentication remote-code-execution vulnerability in Craft CMS's image-transform functionality. In the documented Orion HTB target, successful exploitation leaked the PHP session path and produced a www-data shell.Read more ↗malware newsNews · Aug 7, 2026July 2026 CVE Landscape - Malware Analysis - Malware Analysis, News and IndicatorsA Craft CMS vulnerability listed among vulnerabilities actively exploited or operationally weaponized in July 2026.Read more ↗
+37 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence3Every report linking this CVE to a named adversary.
Associated malware10Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity65Community discussion across Reddit, Mastodon, and other social sources.