CVE-2024-34102: CosmicSting
- Vendor
- Adobe
CosmicSting is a critical, unauthenticated XML external entity (XXE) vulnerability in Adobe Commerce and Magento Open Source, rated CVSS 9.8. Affected releases include 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier vulnerable releases. Recursive REST API input deserialization in Magento's ServiceInputProcessor permits attacker-controlled constructor arguments to reach PHP SimpleXMLElement through internal application classes. Crafted requests to an unauthenticated guest-cart shipping-estimation API can trigger external entity resolution and disclose local files or retrieve remote resources. Exposed platform cryptographic keys can enable forged administrator API tokens. The file-read primitive can also be chained with CNEXT (CVE-2024-2961) to achieve remote code execution. Exploitation requires no user interaction and has occurred extensively in the wild.
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 remote attacker can disclose files readable by the application process, including credentials, configuration secrets, and the platform cryptographic key. A stolen signing key can enable forged administrator JWTs and unrestricted administrative API access, allowing unauthorized store modifications and payment-skimmer injection. Chaining CosmicSting with CVE-2024-2961 on a susceptible system can provide server-side code execution. Observed exploitation has resulted in persistent backdoors and theft of customer payment information. Installing the vulnerability fix alone does not invalidate stolen secrets or remove existing persistence.
Mitigation
If you can’t patch tonight, do this now.
Until vendor fixes are installed, restrict network access to the affected REST API functionality where operationally feasible and monitor for suspicious API requests, unauthorized integrations, and checkout-script changes. Restricting administrative interfaces alone does not prevent exploitation of the unauthenticated API. Do not rely on early third-party request-filtering hotfixes that only blocked the dataIsURL parameter; these were bypassable. Monitor payment-page scripts and investigate exposed stores even after patching. HTTP 4xx or 5xx responses do not reliably establish that exploitation failed.
Remediation
Patch, then assume compromise.
Upgrade Adobe Commerce or Magento Open Source to 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9, or a later supported security release, as appropriate for the installed branch. Adobe Commerce extended-support fixes include 2.4.3-ext-8 and 2.4.2-ext-8. If an immediate upgrade is not possible, apply Adobe's isolated patch ACSD-60241 for applicable versions 2.4.4 through 2.4.7. Verify the complete release and patch level rather than relying on truncated version responses. Patch CVE-2024-2961 where applicable to eliminate the documented code-execution chain. Investigate previously exposed deployments for compromise, remove backdoors and unauthorized integrations, rotate platform cryptographic keys and API tokens, and reset administrator passwords.
Exploits
15 exploits 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-2024-34102 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 Jul 17, 2024.
- Is there a public exploit for CVE-2024-34102?
- Yes. Mallory tracks 15 public exploits or proofs of concept for CVE-2024-34102, the earliest disclosed Jun 11, 2024.
- Is there a patch for CVE-2024-34102?
- Upgrade Adobe Commerce or Magento Open Source to 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9, or a later supported security release, as appropriate for the installed branch. Adobe Commerce extended-support fixes include 2.4.3-ext-8 and 2.4.2-ext-8.
- What products are affected by CVE-2024-34102?
- Adobe Commerce, Adobe Magento, and Adobe Commerce Webhooks.
- How severe is CVE-2024-34102?
- CVE-2024-34102 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 92.6% (100th percentile) as of Nov 10, 2026.
Recent activity
28 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.