CVE-2022-34254 | Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution

Adobe Commerce versions 2.4.3-p2 (and earlier), 2.3.7-p3 (and earlier) and 2.4.4 (and earlier) are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could be abused by an attacker to inject malicious scripts into the vulnerable endpoint. A low privileged attacker could leverage this vulnerability to read local files and to perform Stored XSS. Exploitation of this issue does not require user interaction.

Published: 2022-08-16 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-34254 is rated Moderate Risk (59.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.60%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-34254

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-17 0.53% 0.60% +0.06%
2 2025-11-21 0.60% 0.53% -0.06%
3 2025-11-18 0.60%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-34254

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
8.5 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
3.1 4.7 [email protected]

Weakness enumeration for CVE-2022-34254

GitHub Security Advisory for CVE-2022-34254

GHSA-fx9g-g9q6-x3jx · Severity: high · Ecosystem: composer — Magento Path Traversal vulnerability

Affected software / configurations for CVE-2022-34254

Vendor Product Version Raw CPE
adobe commerce >= 2.3.0, < 2.3.7 cpe:2.3:a:adobe:commerce:*:*:*:*:*:*:*:*
adobe commerce >= 2.4.0, < 2.4.3 cpe:2.3:a:adobe:commerce:*:*:*:*:*:*:*:*
adobe commerce 2.3.7 cpe:2.3:a:adobe:commerce:2.3.7:-:*:*:*:*:*:*
adobe commerce 2.3.7 cpe:2.3:a:adobe:commerce:2.3.7:p1:*:*:*:*:*:*
adobe commerce 2.3.7 cpe:2.3:a:adobe:commerce:2.3.7:p2:*:*:*:*:*:*
adobe commerce 2.3.7 cpe:2.3:a:adobe:commerce:2.3.7:p3:*:*:*:*:*:*
adobe commerce 2.4.3 cpe:2.3:a:adobe:commerce:2.4.3:-:*:*:*:*:*:*
adobe commerce 2.4.3 cpe:2.3:a:adobe:commerce:2.4.3:p1:*:*:*:*:*:*
adobe commerce 2.4.3 cpe:2.3:a:adobe:commerce:2.4.3:p2:*:*:*:*:*:*
adobe commerce 2.4.4 cpe:2.3:a:adobe:commerce:2.4.4:-:*:*:*:*:*:*
magento magento >= 2.3.0, < 2.3.7 cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
magento magento >= 2.4.0, < 2.4.3 cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
magento magento 2.3.7 cpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:*
magento magento 2.3.7 cpe:2.3:a:magento:magento:2.3.7:p1:*:*:commerce:*:*:*
magento magento 2.3.7 cpe:2.3:a:magento:magento:2.3.7:p2:*:*:commerce:*:*:*
magento magento 2.3.7 cpe:2.3:a:magento:magento:2.3.7:p3:*:*:commerce:*:*:*
magento magento 2.4.3 cpe:2.3:a:magento:magento:2.4.3:-:*:*:commerce:*:*:*
magento magento 2.4.3 cpe:2.3:a:magento:magento:2.4.3:p1:*:*:commerce:*:*:*
magento magento 2.4.3 cpe:2.3:a:magento:magento:2.4.3:p2:*:*:commerce:*:*:*
magento magento 2.4.4 cpe:2.3:a:magento:magento:2.4.4:-:*:*:commerce:*:*:*

References for CVE-2022-34254

cvelogic Threat Intelligence