{"id":"CVE-2023-49736","aliases":["CVE-2023-49736","GHSA-jfxj-xf67-x723","BIT-SUPERSET-2023-49736","PYSEC-2026-1184"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Superset: SQL Injection on where_in JINJA macro","summary":"A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2.\n\nUsers are recommended to upgrade to version 3.0.2, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.2, from 3.0.0 before 3.0.2.\n\nUsers are recommended to upgrade to version 3.0.2, which fixes the issue.","source":"cvelist"},{"lang":"en","text":"A where_in JINJA macro allows users to specify a quote, which combined with a carefully crafted statement would allow for SQL injection in Apache Superset.This issue affects Apache Superset: before 2.1.3, from 3.0.0 before 3.0.2.\n\nUsers are recommended to upgrade to version 2.1.3 or 3.0.2, which fixes the issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una macro Where_in JINJA permite a los usuarios especificar una cita, que combinada con una declaración cuidadosamente manipulada permitiría la inyección de SQL en Apache Superset. Este problema afecta a Apache Superset: antes de 2.1.2, desde 3.0.0 antes de 3.0.2. Se recomienda a los usuarios actualizar a la versión 3.0.2, que soluciona el problema.","source":"nvd"}],"published":"2023-12-19T09:33:10.415Z","modified":"2026-09-08T08:48:19.646Z","severity":{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"apache","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.1.2","status":"affected"},{"type":"semver","introduced":"3.0.0","fixed":"3.0.2","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Superset","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.3"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.2"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.2"}],"vendor":"apache","product":"superset","cpe":"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.3"},{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.2"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"Bitnami","package":"superset","purl":"pkg:bitnami/superset","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread/1kf481bgs3451qcz6hfhobs7xvhp8n1p","tags":["advisory","mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/19/2","tags":["advisory","mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49736","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/apache/superset/pull/25779","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/superset/commit/1d403dab9822a8cee6108669c53e53fad881c751","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/superset/commit/34101594e284ab3acce692f41aff7759ccb4bf1d","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/superset","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/apache-superset","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jfxj-xf67-x723","tags":["advisory"],"sources":["pysec"]}],"credits":["Jack Prince-Fulls ( jf@incyan.com )"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-49736","url":"https://www.cve.org/CVERecord?id=CVE-2023-49736","licence":"CVE Terms of Use","modified":"2025-02-13T17:18:54.638Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jfxj-xf67-x723","url":"https://github.com/advisories/GHSA-jfxj-xf67-x723","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:22.459Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-49736","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49736","licence":"Public domain","modified":"2026-06-17T06:36:21.720Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1184","url":"https://osv.dev/vulnerability/PYSEC-2026-1184","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:22.459Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SUPERSET-2023-49736","url":"https://osv.dev/vulnerability/BIT-SUPERSET-2023-49736","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.646Z"}],"updatedAt":"2026-11-25T22:58:31.509Z","epss":{"score":0.01188,"percentile":0.68771,"date":"2026-12-01T12:00:22.000Z"}}