CVE-2021-30459
Python vulnerability analysis and mitigation

Overview

A SQL Injection vulnerability was discovered in the SQL Panel of Jazzband Django Debug Toolbar versions before 1.11.1, 2.x before 2.2.1, and 3.x before 3.2.1. The vulnerability was disclosed on April 14, 2021 and assigned CVE-2021-30459. The issue affects the SQL explain, analyze, and select forms in the toolbar's SQL Panel functionality (Django Advisory, GitHub Advisory).

Technical details

The vulnerability allows attackers to execute arbitrary SQL statements by manipulating the raw_sql input field of the SQL explain, analyze, or select forms in the SQL Panel. The issue affects all versions from 0.10.0 onwards until the patched versions. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

This is considered a high severity issue, particularly for installations using the toolbar in production environments. The vulnerability allows attackers to execute arbitrary SQL statements, potentially leading to unauthorized access to database contents, modification of data, or disruption of database services (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to the patched versions: Django Debug Toolbar 1.11.1 for version 1.x users, 2.2.1 for version 2.x users, or 3.2.1 for version 3.x users. While the Django Debug Toolbar team typically only maintains the latest version, an exception was made for this vulnerability due to its high severity (Django Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 09, 2025
CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
GHSA-9rwj-6rc7-p77cHIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 10, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 10, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management