CVE-2026-130082
Published:November 16, 2026
Updated:November 23, 2026
django-tenants 3.4.8 before 4.0.1 contains an SQL injection vulnerability in its PostgreSQL backend that allows attackers to inject SQL through unescaped tenant schema names. Attackers who can choose or influence a schema name can supply quote characters that are interpolated into SET search_path and CREATE, DROP or ALTER SCHEMA statements, letting them read other tenants' data or run SQL as the application's database user.
Affected Packages
django-tenants (CONDA):
Affected version(s) >=3.5.0 <4.0.1 || =4.0.0 <4.0.1Fix Suggestion:
Update to version 4.0.1https://github.com/django-tenants/django-tenants.git (GITHUB):
Affected version(s) >=v3.4.1 <v4.0.1 || =v4.0.0 <v4.0.1Fix Suggestion:
Update to version v4.0.1django-tenants (PYTHON):
Affected version(s) >=3.4.1 <4.0.1 || =4.0.0 <4.0.1Fix Suggestion:
Update to version 4.0.1Related ResourcesĀ (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command
EPSS
Base Score:
0.30