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 over last 30 days · oldest: 0.183 · newest: 0.222 · change: +0.039
Affected products
- Magento — versions prior to 2.1.17, prior to 2.2.8, prior to 2.3.1
- Magento Commerce — versions prior to 1.14.4.1
- Magento Open Source — versions prior to 1.9.4.1
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
- www.ambionics.io/blog/magento-sqli (Exploit, Third Party Advisory)
- magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13
This CVE has public exploit evidence. See the latest CVEs with public exploits.