CVE-2024-34102
XXE can expose crypt key and other secrets granting full admin access
Also known as BIT-magento-2024-34102, GHSA-m8cj-3v68-3cxj
Mitigation
- Upgrade magento/community-edition to one of 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 (or later in the same release line).
Who should check
- Projects that depend on Packagist package magento/community-edition (2.4.4)
- Anyone running Adobe Commerce <= 2.4.4-p8
Vulnerability facts
- Affected
- magento/community-edition 2.4.4
- Fixed in
- 2.4.6-p6, 2.4.5-p8, 2.4.4-p9
- Exploited in the wild
- Yes: in CISA KEV since 2024-07-17; federal due date 2024-08-07
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 92.60% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-611
- Modified
Description
Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability that could result in arbitrary code execution. An attacker could exploit this vulnerability by sending a crafted XML document that references external entities. Exploitation of this issue does not require user interaction.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist magento/community-edition | 2.4.4 | 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 | osv |
| Adobe Commerce | <= 2.4.4-p8 | — | cvelist |
Timeline
- 2024-06-13 Published
- 2024-07-17 Added to CISA KEV (exploited in the wild)
- 2024-08-07 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-34102. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-34102.md Affected: magento/community-edition 2.4.4 Fixed in: 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 Steps: 1. Search this machine and project for magento/community-edition (Packagist), Adobe Commerce: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799
- https://github.com/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2
- https://github.com/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83c
- https://github.com/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482#diff-84a0773a6287fbbaadf3b9103f4a137fc0b6946de2437ddfd6f60a0722cf8d23
Exploits and PoCs
FAQ
Is CVE-2024-34102 being exploited?
Yes. CISA lists CVE-2024-34102 in its Known Exploited Vulnerabilities catalog since 2024-07-17, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 92.60% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-34102?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-34102?
magento/community-edition 2.4.4.
Is there a fix for CVE-2024-34102?
Yes. Fixed in 2.4.6-p6, 2.4.5-p8, 2.4.4-p9. Upgrade magento/community-edition to one of 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 (or later in the same release line).
How do I check if I'm affected by CVE-2024-34102?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.