1. Home
  2. Vulnerabilities
  3. CVE-2026-130082

CVE-2026-130082

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

Published 16 Nov 2026 · modified 17 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 44/100

Summary

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.

Affected products and versions

django-tenants (1 line(s))
django-tenants
ProductVersionsFixed inSource
django-tenants from 3.4.8 (included) to 4.0.1 (excluded) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-89 · Injection SQL

How this data is obtained and calculated