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.

Project Subscriptions

Vendors Products
Django-tenants Subscribe
Django-tenants Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 18 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Django-tenants
Django-tenants django-tenants
Vendors & Products Django-tenants
Django-tenants django-tenants

Tue, 17 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 16 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-17T13:57:36.556Z

Reserved: 2026-11-16T20:35:59.140Z

Link: CVE-2026-130082

cve-icon Vulnrichment

Updated: 2026-11-17T13:57:30.912Z

cve-icon NVD

Status : Received

Published: 2026-11-16T22:18:24.030

Modified: 2026-11-17T14:17:42.530

Link: CVE-2026-130082

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-18T21:08:01Z

Weaknesses