# CVE-2024-34102: XXE can expose crypt key and other secrets granting full admin access

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Yes: in CISA KEV since 2024-07-17; federal due date 2024-08-07
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 92.60% (percentile 100, 2026-11-26)
- **CWE:** CWE-611
- **Aliases:** BIT-magento-2024-34102, GHSA-m8cj-3v68-3cxj
- **Published:** 2024-06-13T09:04:56.093Z
- **Modified:** 2026-06-17T07:32:54.930Z

## Who should check

- Projects that depend on Packagist package magento/community-edition (2.4.4)
- Anyone running Adobe Commerce \<= 2.4.4-p8

## 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

- Packagist `magento/community-edition`: affected 2.4.4; fixed 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 (osv)
- Adobe Commerce: \<= 2.4.4-p8 (cvelist)

## 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).

## 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 a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://helpx.adobe.com/security/products/magento/apsb24-40.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-34102>
- patch: <https://github.com/magento/magento2/commit/30877fce83b793f71421c47347885cf076e81799>
- patch: <https://github.com/magento/magento2/commit/a3c6d6e5e95e63031e4df26cfcf76feace7549c2>
- patch: <https://github.com/magento/magento2/commit/c5c538810b87449886f4669cb8abbe8e5593c83c>
- patch: <https://github.com/magento/magento2/commit/d10435b11ada4e502dca7539f8fd31d059d3c482#diff-84a0773a6287fbbaadf3b9103f4a137fc0b6946de2437ddfd6f60a0722cf8d23>
- exploit: <https://www.vicarius.io/vsociety/posts/cosmicsting-critical-unauthenticated-xxe-vulnerability-in-adobe-commerce-and-magento-cve-2024-34102>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-34102>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2024-34102.yaml>
- other: <https://github.com/magento/magento2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-34102>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-m8cj-3v68-3cxj> (license: <https://creativecommons.org/licenses/by/4.0/>)
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2024-34102> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-34102>
