CVE-2026-130082
High 8.7No known exploitationFix status unknownTitle not yet published
Record last updated
CVSS score
8.7
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.3%
Higher than 24% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-89
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
No affected products documented yet.
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py (opens in a new tab)
- https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff (opens in a new tab)
- https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1 (opens in a new tab)
- https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw (opens in a new tab)
- https://www.vulncheck.com/advisories/django-tenants-3.4.8-before-4.0.1-sql-injection-via-unescaped-schema-name (opens in a new tab)