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

Medium 5.3 Published Updated

Attackers can bypass security features and modify limited data via path traversal in Adobe Commerce without user interaction.

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-49559?

CVE-2025-49559 is a medium-severity path traversal vulnerability in Adobe Commerce, published on 12 Aug 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.9-alpha1, 2.4.8-p1, 2.4.7-p6, 2.4.6-p11, 2.4.5-p13, 2.4.4-p14 and earlier are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could result in a security feature bypass. An attacker could leverage this vulnerability to modify limited data. Exploitation of this issue does not require user interaction.

Weakness: CWE-22

Which versions are affected by CVE-2025-49559?

14 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.5-p14
magento/community-edition PackagistAll versions2.4.5-p14
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p12
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p12
8 more packages
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p7
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-p7
magento/community-edition PackagistFrom 2.4.8-beta12.4.8-p2
magento/community-edition PackagistFrom 2.4.8-beta12.4.8-p2
magento/community-edition PackagistFrom 2.4.9-alpha12.4.9-alpha2
magento/community-edition PackagistFrom 2.4.9-alpha12.4.9-alpha2
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-49559?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.5-p14, 2.4.6-p12, 2.4.7-p7 or 2.4.8-p2.

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

Is CVE-2025-49559 being exploited?

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

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-h4f4-gv6h-x824.

Is CVE-2025-49559 in your software?

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

Check your SBOMs for free