Skip to content
Heist/ feed
Back to feed
High

Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-34254
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:14 UTC · Revision 1

Source evidence

Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution

core-osv · Original source

Published 16 Aug 2022, 19:44 UTC

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.

osv:CVE-2022-34254
Complete source record
{
  "id": "2198109f204bf3273f29e28a224886ea7ec160feaf034c6ecee8a2780280d8f9",
  "url": "https://osv.dev/vulnerability/CVE-2022-34254",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution",
    "summary": "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.",
    "evidence": "osv:CVE-2022-34254",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-34254",
      "aliases": [
        "BIT-magento-2022-34254",
        "CVE-2022-34254",
        "GHSA-fx9g-g9q6-x3jx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/devdocs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "81e9594ffa9c24a761ebd3a3c7c076078443f1e5"
                },
                {
                  "last_affected": "81e9594ffa9c24a761ebd3a3c7c076078443f1e5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.3.7:p2:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p2"
                      },
                      {
                        "last_affected": "2.3.7-p2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.4.3:p1:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-p1"
                      },
                      {
                        "last_affected": "2.4.3-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.4.4:-:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.4-NA"
                      },
                      {
                        "last_affected": "2.4.4-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.7-p2",
            "2.4.4",
            "2.4.3-p1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34254.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f4c1d7526f05bdfb1327b0701cc345f94aadcaed"
                },
                {
                  "fixed": "44a7b6079bcac5ba92040b16f4f74024b4f34d09"
                },
                {
                  "introduced": "6729b6e01368248abc33300208eb292c95050203"
                },
                {
                  "fixed": "4c36116dcf878e127059d9be9566a119783583f2"
                },
                {
                  "introduced": "44a7b6079bcac5ba92040b16f4f74024b4f34d09"
                },
                {
                  "last_affected": "0f9a056c8d83c4f319626b3e56ec52a533999f25"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "fixed": "2.4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "fixed": "2.4.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.3.7:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-NA"
                      },
                      {
                        "last_affected": "2.3.7-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-NA"
                      },
                      {
                        "last_affected": "2.3.7-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.3.7:p1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p1"
                      },
                      {
                        "last_affected": "2.3.7-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.3.7:p1:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p1"
                      },
                      {
                        "last_affected": "2.3.7-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.3.7:p2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p2"
                      },
                      {
                        "last_affected": "2.3.7-p2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.3.7:p2:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p2"
                      },
                      {
                        "last_affected": "2.3.7-p2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.3.7:p3:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p3"
                      },
                      {
                        "last_affected": "2.3.7-p3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.3.7:p3:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.7-p3"
                      },
                      {
                        "last_affected": "2.3.7-p3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.4.3:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-NA"
                      },
                      {
                        "last_affected": "2.4.3-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.4.3:-:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-NA"
                      },
                      {
                        "last_affected": "2.4.3-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.4.3:p1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-p1"
                      },
                      {
                        "last_affected": "2.4.3-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.4.3:p1:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-p1"
                      },
                      {
                        "last_affected": "2.4.3-p1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.4.3:p2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-p2"
                      },
                      {
                        "last_affected": "2.4.3-p2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.4.3:p2:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.3-p2"
                      },
                      {
                        "last_affected": "2.4.3-p2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:adobe:commerce:2.4.4:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.4-NA"
                      },
                      {
                        "last_affected": "2.4.4-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:2.4.4:-:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.4.4-NA"
                      },
                      {
                        "last_affected": "2.4.4-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.7-NA",
            "2.3.7-p1",
            "2.3.7-p2",
            "2.3.7-p3",
            "2.4.3-NA",
            "2.4.3-p1",
            "2.4.3-p2",
            "2.4.4-NA"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34254.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.358223342Z",
      "provider": "osv",
      "references": [
        "https://helpx.adobe.com/security/products/magento/apsb22-38.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34254.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-34254"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "adobe",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "2.4.4"
                  },
                  {
                    "last_affected": "2.3.7-p3"
                  },
                  {
                    "last_affected": "2.4.3-p2"
                  },
                  {
                    "last_affected": "None"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "SplitRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34254.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-34254",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502933,
  "published_at": "2022-08-16T19:44:17.754+00:00"
}