GitHub Advisory Database
GHSA-7r99-8wqp-h7pc
Magento Path Traversal vulnerability
Details
Magento versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could lead to arbitrary file system read. A low-privileged attacker could exploit this vulnerability to gain access to files and directories that are outside the restricted directory. Exploitation of this issue does not require user interaction and scope is changed.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/project-community-edition | All versions up to and including 2.0.2 |
| Packagist | magento/community-edition | From 2.4.7-beta1 before 2.4.7-p2 (fixed in 2.4.7-p2) |
| Packagist | magento/community-edition | From 2.4.6-p1 before 2.4.6-p7 (fixed in 2.4.6-p7) |
| Packagist | magento/community-edition | From 2.4.5-p1 before 2.4.5-p9 (fixed in 2.4.5-p9) |
| Packagist | magento/community-edition | From 2.4.4-p1 before 2.4.4-p10 (fixed in 2.4.4-p10) |
| Packagist | magento/community-edition | 2.4.7 |
| Packagist | magento/community-edition | 2.4.6 |
| Packagist | magento/community-edition | 2.4.5 |
| Packagist | magento/community-edition | 2.4.4 |