CVE-2026-130082: django-tenants · SQL Injection
Affects django-tenantsSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 4.0.1 soon.
Data as of 16 Nov 2026, 22:20 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 8.8 |
- Patch
- Available – fixed in 4.0.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade django-tenants to 4.0.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| django-tenantsdjango-tenants | Affected
| Fixed in
|
PyPIdjango-tenantspkg:pypi/django-tenantsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade django-tenants to version 4.0.1 or later, where this SQL injection vulnerability is fixed. No other mitigations are specified or recommended by the vendor.
Description
django-tenants versions 3.4.8 up to but not including 4.0.1 contain an SQL injection vulnerability in the PostgreSQL backend. This flaw allows attackers who can influence tenant schema names to inject malicious SQL via unescaped schema identifiers. Exploitation can lead to unauthorized reading of other tenants' data or execution of arbitrary SQL commands as the application's database user. The vulnerability is fixed in version 4.0.1.
References
- github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw (opens in a new tab)
- github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff (opens in a new tab)
- github.com/django-tenants/django-tenants/releases/tag/v4.0.1 (opens in a new tab)
- github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py (opens in a new tab)
- github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py (opens in a new tab)
- vulncheck.com/advisories/django-tenants-3.4.8-before-4.0.1-sql-injection-via-unescaped-schema-name (opens in a new tab)