CVE-2026-130082
Received Received - Intake

SQL Injection in django-tenants PostgreSQL Backend

Vulnerability report for CVE-2026-130082, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-17
AI Q&A
2026-11-17
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
django-tenants django-tenants From 3.4.8 (inc) to 4.0.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

django-tenants 3.4.8 before 4.0.1 has an SQL injection flaw in its PostgreSQL backend. Attackers can inject SQL through tenant schema names by using quote characters that get interpolated into database statements like SET search_path or CREATE SCHEMA. This allows unauthorized access to other tenants' data or execution of SQL commands as the application's database user.

Impact Analysis

This vulnerability can lead to unauthorized data access across different tenants, allowing attackers to read sensitive information from other users or organizations. It may also enable attackers to execute arbitrary SQL commands, potentially leading to data manipulation, deletion, or full database compromise.

Compliance Impact

This vulnerability can severely impact compliance with GDPR and HIPAA by enabling unauthorized access to personal or protected health information. It may result in data breaches, violating confidentiality requirements and leading to legal penalties, fines, or reputational damage for organizations handling sensitive data.

Mitigation Strategies

Upgrade django-tenants to version 4.0.1 or later to address the SQL injection vulnerability in the PostgreSQL backend.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-130082. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...