CVE-2026-130082 django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name
HighCVSS 8.7
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi django-tenants | >= 3.4.8, < 4.0.1 | 4.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django-tenants | >= 3.4.8, < 4.0.1 | 4.0.1 |
References
- GitHub Security Advisory (GHSA-693j-7v9f-x7pw) vendor-advisory
- github.com patch
- django-tenants v4.0.1 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name third-party-advisory
- ENISA EUVD EUVD-2026-126711 third-party-advisory