CVE-2022-34254 json
Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution
published 2022-08-16 4 y ago modified 2026-09-10 1 mo ago also BIT-magento-2022-34254 , EUVD-2022-6554 , GHSA-fx9g-g9q6-x3jx
- cvss
- 8.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
Adobe Commerce versions 2.4.3-p2 (and earlier), 2.3.7-p3 (and earlier) and 2.4.4 (and earlier) are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could be abused by an attacker to inject malicious scripts into the vulnerable endpoint. A low privileged attacker could leverage this vulnerability to read local files and to perform Stored XSS. Exploitation of this issue does not require user interaction.
Patch / fix
- packagist magento/community-edition 2.3.7-p4, 2.4.3-p3, 2.4.5
- bitnami magento 2.3.7, 2.4.3
- adobe commerce 2.3.7, 2.4.3
- magento magento 2.3.7, 2.4.3
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
2.33% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| GitHub | 3.1 | 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 8.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | magento/community-edition | >=2.3.0, <2.3.7-p4 >=2.4.0, <2.4.3-p3 >=2.4.4, <2.4.5 |
2.3.7-p4 2.4.3-p3 2.4.5 |
| bitnami | magento | >=2.3.0, <2.3.7 >=2.4.0, <2.4.3 >=2.3.7-p1, <=2.3.7-p1 >=2.3.7-p2, <=2.3.7-p2 >=2.3.7-p3, <=2.3.7-p3 >=2.3.7, <=2.3.7 >=2.4.3-p1, <=2.4.3-p1 >=2.4.3-p2, <=2.4.3-p2 >=2.4.3, <=2.4.3 >=2.4.4, <=2.4.4 |
2.3.7 2.4.3 |
Affected products
- Adobe Magento Commerce
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/magento/magento2/commit/246d524b7586af2245092008e0d92b8d6fdd8523
web
-
github.com
/magento/magento2/commit/5548bc64b5bc904346c0af9193a7fbb5274b4efa
web
-
github.com
/magento/magento2/commit/5f07eba878296a37bd5c3a2baecad48948547594
web
-
helpx.adobe.com
/security/products/magento/apsb22-38.html
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-34254
advisory
-
github.com
/magento/magento2
package
Sources
- CVE List CVE-2022-34254
- GitHub Advisory GHSA-fx9g-g9q6-x3jx
- NVD CVE-2022-34254
- OSV BIT-magento-2022-34254
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.