CVE-2025-24406 Adobe Commerce | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22)

High 7.5 Published Updated

Unauthenticated attackers can modify files outside restricted directories in Adobe Commerce, leading to security feature bypass.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-24406?

CVE-2025-24406 is a high-severity path traversal vulnerability in Adobe Commerce, published on 11 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Adobe Commerce versions 2.4.8-beta1, 2.4.7-p3, 2.4.6-p8, 2.4.5-p10, 2.4.4-p11 and earlier are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could lead to a security feature bypass. An unauthenticated attacker could exploit this vulnerability to modify files that are stored outside the restricted directory. Exploitation of this issue does not require user interaction.

Weakness: CWE-22

Which versions are affected by CVE-2025-24406?

12 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 3 products.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versions2.4.4-p12
magento/community-edition PackagistAll versions2.4.4-p12
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p11
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p11
6 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p9
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p9
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p4
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p4
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Adobe Commerce, Adobe Commerce B2b, Adobe Magento.

How do I fix CVE-2025-24406?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p12, 2.4.5-p11, 2.4.6-p9 or 2.4.7-p4.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-24406 being exploited?

There is no known exploitation of CVE-2025-24406 in the wild and no public exploit code.

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-954p-ff72-327w.

Is CVE-2025-24406 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free