CVE-2022-24086: Unauthenticated Remote Code Execution in Adobe Commerce and Magento Checkout
- Vendor
- Adobe
CVE-2022-24086 is an improper input validation vulnerability affecting Adobe Commerce and Magento Open Source 2.4.3-p1 and earlier, and 2.3.7-p2 and earlier. Attacker-controlled checkout and order data can introduce template directives into transactional email processing. Magento's legacy variable resolver permits access to the template filter object and its methods, allowing manipulation of after-filter callbacks and execution through a call_user_func sink. Successful exploitation enables unauthenticated arbitrary code execution without victim interaction. The vulnerability has been exploited in the wild, including in TrojanOrder campaigns.
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.
Remote attackers can execute arbitrary code with the privileges of the affected application process, compromising the storefront and potentially the underlying server. Observed exploitation has enabled deployment of backdoors, including MiniNerbian, and reuse of compromised Magento servers as command-and-control infrastructure. Application compromise can also enable theft of customer and payment information and persistent unauthorized access.
Mitigation
If you can’t patch tonight, do this now.
No alternative mitigation is identified as a substitute for Adobe's patches. Prioritize patch deployment following business-impact review. Monitor checkout inputs, order data, and transactional email processing for injected template directives, and investigate suspicious orders or evidence of server-side code execution.
Remediation
Patch, then assume compromise.
Apply Adobe's security updates under bulletin APSB22-12. For installations using the standalone patches, apply MDVA-43395 first, followed by MDVA-43443, using the patches appropriate to the installed product version; a bypass of the initial fix was identified. Alternatively, upgrade the affected branch to 2.3.7-p3 or 2.4.3-p2, or a later supported patched release. Verify successful patch application. Investigate previously exposed installations for backdoors and other persistence, because patching does not remove an existing compromise.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.
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.
References
Frequently asked questions
- Is CVE-2022-24086 exploited in the wild?
- Yes. As of Nov 10, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 15, 2022.
- Is there a public exploit for CVE-2022-24086?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2022-24086, the earliest disclosed Dec 20, 2022.
- Is there a patch for CVE-2022-24086?
- Apply Adobe's security updates under bulletin APSB22-12. For installations using the standalone patches, apply MDVA-43395 first, followed by MDVA-43443, using the patches appropriate to the installed product version; a bypass of the initial fix was identified.
- What products are affected by CVE-2022-24086?
- Adobe Commerce and Adobe Magento.
- How severe is CVE-2022-24086?
- CVE-2022-24086 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.2% (100th percentile) as of Nov 10, 2026.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.