Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-7139
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:36 UTC · Revision 1

Source evidence

CVE-2019-7139

core-osv · Original source

Published 10 Apr 2019, 18:29 UTC

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.

osv:CVE-2019-7139
Complete source record
{
  "id": "6819d2a2336c1357404d9c306e5067796cb53f806cf13c630c90193be34b8940",
  "url": "https://osv.dev/vulnerability/CVE-2019-7139",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-7139",
    "summary": "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.",
    "evidence": "osv:CVE-2019-7139",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2019-7139",
      "aliases": [
        "CVE-2019-7139",
        "GHSA-4j6w-9rf8-hg7r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/devdocs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "60523b1194f96e18c94c82b5515b0274b30e2151"
                },
                {
                  "fixed": "80eeb710af69c32b8819310cf24fcf86bb7b9bef"
                },
                {
                  "introduced": "239bfc72e116f6814ff6c2f6731f0830f3bcf61c"
                },
                {
                  "fixed": "80eeb710af69c32b8819310cf24fcf86bb7b9bef"
                },
                {
                  "introduced": "75da24b3b0fb950648d00e7454dae0bb7da64c30"
                },
                {
                  "fixed": "80eeb710af69c32b8819310cf24fcf86bb7b9bef"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.17"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.17"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.0",
            "2.2.7",
            "2.1.16"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-7139.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/magento/magento2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "909a2d7e8c2ac5ca55359827c22cea93fdb719df"
                },
                {
                  "fixed": "1f9186c3b9a96c5e642fd5d3d31ac5c7e1877d2b"
                },
                {
                  "introduced": "07465f8ce879ff0bd0ba72a662c9e2473e49afe4"
                },
                {
                  "fixed": "0c786907ffe03d0e2990612eec16ee58b00379c5"
                },
                {
                  "introduced": "f4c1d7526f05bdfb1327b0701cc345f94aadcaed"
                },
                {
                  "fixed": "36097739bbb0b8939ad9a2a0dadee64318153dca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.17"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.17"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.3.0",
            "2.2.0-rc2.2",
            "2.2.0-rc2.3",
            "2.2.0-rc2.1",
            "2.2.0-rc2.0",
            "2.2.0-RC1.8",
            "2.2.0-RC1.6",
            "2.2.0-RC1.3",
            "2.2.0-RC1.5",
            "2.2.0-RC1.4",
            "2.2.0-RC1.2",
            "2.1.5",
            "2.2.0-RC1.1",
            "2.1.6",
            "2.1.4",
            "2.1.2",
            "2.1.1",
            "2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-7139.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:30.957337280Z",
      "provider": "osv",
      "references": [
        "https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-13",
        "https://www.ambionics.io/blog/magento-sqli"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*",
              "cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*"
            ],
            "vendor_product": "magento:magento",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.9.4.1"
                  },
                  {
                    "fixed": "1.9.4.1"
                  },
                  {
                    "introduced": "1.14.0.0"
                  },
                  {
                    "fixed": "1.14.4.1"
                  },
                  {
                    "introduced": "1.14.0.0"
                  },
                  {
                    "fixed": "1.14.4.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-7139",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432698,
  "published_at": "2019-04-10T18:29:01.247+00:00"
}