๐Ÿ” CVE Alert

CVE-2026-130082

HIGH 8.8

django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-89
Vendor django-tenants
Product django-tenants
Published Nov 16, 2026
Last Updated Nov 17, 2026
Stay Ahead of the Next One

Get instant alerts for django-tenants django-tenants

Be the first to know when new high vulnerabilities affecting django-tenants django-tenants are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

django-tenants / django-tenants
3.4.8 < 4.0.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw github.com: https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff github.com: https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1 github.com: https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L208-L213 github.com: https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L46 vulncheck.com: https://www.vulncheck.com/advisories/django-tenants-3.4.8-before-4.0.1-sql-injection-via-unescaped-schema-name

Credits

Amirbek Raxmatullayev