CVE-2026-130082: high-severity vulnerability in django-tenants
django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.7epss 0.3%
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.
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
Affected products
django-tenants · django-tenantsReferences
https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L208-L213https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L46https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ffhttps://github.com/django-tenants/django-tenants/releases/tag/v4.0.1https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw