Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. magento/community-edition
  4. ›
  5. CVE-2024-39406

CVE-2024-39406: Magento Open Source Path Traversal vulnerability

August 14, 2024 (updated September 16, 2024)

Magento Open Source 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. An 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.

References

  • github.com/advisories/GHSA-6pxh-2557-5cj5
  • github.com/magento/magento2
  • helpx.adobe.com/security/products/magento/apsb24-61.html
  • nvd.nist.gov/vuln/detail/CVE-2024-39406

Code Behaviors & Features

Detect and mitigate CVE-2024-39406 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.4-p10, version 2.4.4, all versions starting from 2.4.5-p1 before 2.4.5-p9, version 2.4.5, all versions starting from 2.4.6-p1 before 2.4.6-p7, version 2.4.6, all versions starting from 2.4.7-p1 before 2.4.7-p2, version 2.4.7

Fixed versions

  • 2.4.7-p2
  • 2.4.6-p7
  • 2.4.5-p9
  • 2.4.4-p10

Solution

Upgrade to versions 2.4.4-p10, 2.4.5-p9, 2.4.6-p7, 2.4.7-p2 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/magento/community-edition/CVE-2024-39406.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.