{"id":"CVE-2021-41971","aliases":["CVE-2021-41971","GHSA-pg8m-4p8j-2p56","BIT-SUPERSET-2021-41971","PYSEC-2021-378"],"related":[],"kind":"vulnerability","state":"published","title":"Possible SQL Injection when template processing is enabled","summary":"Apache Superset up to and including 1.3.0 when configured with ENABLE_TEMPLATE_PROCESSING on (disabled by default) allowed SQL injection when a malicious authenticated user sends an http request with a custom URL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Apache Superset up to and including 1.3.0 when configured with ENABLE_TEMPLATE_PROCESSING on (disabled by default) allowed SQL injection when a malicious authenticated user sends an http request with a custom URL.","source":"cvelist"},{"lang":"es","text":"Apache Superset versiones hasta 1.3.0 incluyéndola, cuando era configurado con ENABLE_TEMPLATE_PROCESSING habilitado (deshabilitado por defecto), permitía una inyección SQL cuando un usuario autenticado malicioso enviaba una petición http con una URL personalizada","source":"nvd"}],"published":"2021-10-18T14:30:14.000Z","modified":"2026-09-08T08:48:19.578Z","severity":{"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"},"severities":[{"scorer":"GitHub","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":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"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":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","score":6,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"Apache Superset","fixed":"1.3.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Superset","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.1"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.3.0"}],"vendor":"apache","product":"superset","cpe":"cpe:2.3:a:apache:superset:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.1"}],"ecosystem":"PyPI","package":"apache-superset","purl":"pkg:pypi/apache-superset","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.1"}],"ecosystem":"Bitnami","package":"superset","purl":"pkg:bitnami/superset","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread.html/rf7292731268c6c6e2196ae1583e32ac7189385364268f8d9215e8e6d%40%3Cdev.superset.apache.org%3E","tags":["advisory","mailing-list","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41971","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/advisories/GHSA-pg8m-4p8j-2p56","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/superset","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-superset/PYSEC-2021-378.yaml","tags":["web"],"sources":["ghsa"]}],"credits":["Apache Superset would like to thank Kevin Kusnardi for reporting this issue"],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41971","url":"https://www.cve.org/CVERecord?id=CVE-2021-41971","licence":"CVE Terms of Use","modified":"2024-08-04T03:22:25.815Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pg8m-4p8j-2p56","url":"https://github.com/advisories/GHSA-pg8m-4p8j-2p56","licence":"CC-BY-4.0","modified":"2025-02-05T09:11:59.509Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41971","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41971","licence":"Public domain","modified":"2026-06-17T04:09:06.077Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-378","url":"https://osv.dev/vulnerability/PYSEC-2021-378","licence":"CC-BY-4.0","modified":"2025-02-05T09:11:59.509Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-SUPERSET-2021-41971","url":"https://osv.dev/vulnerability/BIT-SUPERSET-2021-41971","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.578Z"}],"updatedAt":"2026-11-25T22:58:04.535Z","epss":{"score":0.01765,"percentile":0.78566,"date":"2026-11-30T12:00:22.000Z"}}