Unauthenticated code execution via transactional email template injection
Published Feb 16, 2022 · Updated Oct 21, 2025
Improper input validation in Adobe Commerce 2.4.3-p1 and earlier or 2.3.7-p2 and earlier allows remote attackers to execute code. Checkout fields reach transactional email templates, where the legacy resolver interprets attacker-supplied directives and permits method calls that execute arbitrary after-filter callbacks. No authentication or user interaction is required; code runs on the Commerce server when an affected flow generates email, while versions 2.3.0 through 2.3.3 are excluded.
Summary
What happened
Improper input validation in Adobe Commerce 2.4.3-p1 and earlier or 2.3.7-p2 and earlier allows remote attackers to execute code. Checkout fields reach transactional email templates, where the legacy resolver interprets attacker-supplied directives and permits method calls that execute arbitrary after-filter callbacks. No authentication or user interaction is required; code runs on the Commerce server when an affected flow generates email, while versions 2.3.0 through 2.3.3 are excluded.
The record
- CVE
- CVE-2022-24086
- Published
- Feb 16, 2022
- Updated
- Oct 21, 2025
- Vendor
- Adobe
- Product
- Adobe Commerce
- Classifications
- CWE-20, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 16, 2022CVE publishedPublication date reported by the CVE source.
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <=2.3.7-p2
- Affected versionversion=unspecified <=2.4.3-p1
- Affected versionversion=unspecified <=None
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Magento template-engine command-execution demonstrationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Limited attacks targeting Adobe Commerce merchantsreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo