SQL Injection in Magento

CVE-2019-7139

An unauthenticated user can execute SQL statements that allow arbitrary read access to the underlying database, which causes sensitive data leakage. This issue is fixed in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.222, 97.7th percentile (scored ); up from 0.183 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2019-7139: rose from 0.183 to 0.222.

EPSS over last 30 days · oldest: 0.183 · newest: 0.222 · change: +0.039

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

2 public repositories with exploit or proof-of-concept code for this CVE:

  • 0xSemZ/Magento-CVE-2019-7139-SQLi-PoC (8 stars, last pushed 2026-09-24): Proof-of-Concept (PoC) exploit for CVE-2019-7139, an unauthenticated SQL injection vulnerability in Magento (PRODSECBUG-2198). For educational and security research purposes only. Use with explicit p…
  • adhammedhat111/Magento-CVE-2019-7139-SQLi-PoC (8 stars, last pushed 2026-04-03): Proof-of-Concept (PoC) exploit for CVE-2019-7139, an unauthenticated SQL injection vulnerability in Magento (PRODSECBUG-2198). For educational and security research purposes only. Use with explicit p…

Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, koutto/jok3r-pocs, zulloper/cve-poc). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References