Magento Path Traversal vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | 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 |
| Magento (core) | 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 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-34254
- https://github.com/magento/magento2/commit/246d524b7586af2245092008e0d92b8d6fdd8523
- https://github.com/magento/magento2/commit/5548bc64b5bc904346c0af9193a7fbb5274b4efa
- https://github.com/magento/magento2/commit/5f07eba878296a37bd5c3a2baecad48948547594
- https://github.com/magento/magento2
- https://helpx.adobe.com/security/products/magento/apsb22-38.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N- Weakness (CWE)
CWE-22- Platform
- Composer, Magento
- Package
magento/community-edition- Disclosed
- 17.08.2022
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-fx9g-g9q6-x3jx - CC BY 4.0
Vulnerability history: magento/community-edition
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 360
- First → latest
- 11.2019 10.2025
- Without a fix
- 3
- Exploited in attacks
- 3
Severity breakdown
- Critical 47
- High 104
- Medium 192
- Low 17
Disclosures per year
- 2019: 7
- 2020: 0
- 2021: 0
- 2022: 214
- 2023: 32
- 2024: 62
- 2025: 45
- 2026: 0
-
Magento Path Traversal vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.