Magento Path Traversal vulnerability
Impact
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.
Source excerpt · OSVExploitation of this issue does not require user interaction and scope is changed.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases through 2.0.2 (inclusive)Ecosystem versions | Not recorded |
Version evidence: OSV · GHSA-7r99-8wqp-h7pc
View original version evidence (53 explicit versions)
| Affected range | Recorded fix |
|---|---|
| From 2.4.7-beta1 before 2.4.7-p2Ecosystem versions | 2.4.7-p2 |
| From 2.4.6-p1 before 2.4.6-p7Ecosystem versions | 2.4.6-p7 |
| From 2.4.5-p1 before 2.4.5-p9Ecosystem versions | 2.4.5-p9 |
| From 2.4.4-p1 before 2.4.4-p10Ecosystem versions | 2.4.4-p10 |
Version evidence: OSV · GHSA-7r99-8wqp-h7pc
View original version evidence (32 explicit versions)
Original source description
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.