HIGH 8.7 NVD
CVE-2026-130082
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
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.
References
- https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_bac
- https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_bac
- https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba85507
- https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1
- https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw
This high severity vulnerability with a CVSS score of 8.7 was published on 2026-11-16 via NVD.
vulnfeed aggregates 21154 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.