CVE-2026-130082
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.
How to fix
- django-tenants django-tenants4.0.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| django-tenants django-tenants | 3.4.8 ≤ v < 4.0.1 | 4.0.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.