Description
A SQL Injection issue in the SQL Panel in Jazzband Django Debug Toolbar before 1.11.1, 2.x before 2.2.1, and 3.x before 3.2.1 allows attackers to execute SQL statements by changing the raw_sql input field of the SQL explain, analyze, or select form.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-django-debug-toolbar | 4.3-1.2 | openSUSE-SU-2026:11271-1, openSUSE-SU-2024:14137-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django-debug-toolbar | >= 0.10.0, < 1.11.1 | 1.11.1 | GHSA-pghf-347x-c2gj |
| PyPI | django-debug-toolbar | >= 2.0a1, < 2.2.1 | 2.2.1 | GHSA-pghf-347x-c2gj |
| PyPI | django-debug-toolbar | >= 3.0a1, < 3.2.1 | 3.2.1 | GHSA-pghf-347x-c2gj |
| PyPI | django-debug-toolbar | >= 0.10.0, < 1.11.1 · >= 2.0, < 2.2.1 · >= 3.0, < 3.2.1 | 1.11.1, 2.2.1, 3.2.1 | PYSEC-2021-10 |
Advisories 2
- openSUSE-SU-2026:11271-1 python313-django-debug-toolbar-7.0.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 15, 2026
- openSUSE-SU-2024:14137-1 python310-django-debug-toolbar-4.3-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026