CVE-2026-130082
published high CVSS 4.0 · 8.7django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| django-tenants | — | django-tenants3.4.8 to < 4.0.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| django-tenants | django-tenants | 3.4.8 to < 4.0.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
6- https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L208-L213
- https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L46
- https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff
- django-tenants v4.0.1 Release Notes https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1
- GitHub Security Advisory (GHSA-693j-7v9f-x7pw) https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw
- VulnCheck Advisory: django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name https://www.vulncheck.com/advisories/django-tenants-3.4.8-before-4.0.1-sql-injection-via-unescaped-schema-name
Provider assertions
2VulnCheck · cna
django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fe792c2c08d9bfd0b1b45a47e5b4fbe37c1a8d83dab59569ef380a88ae500734
- Ingested
- 17 Nov 2026, 14:00:46 UTC
- Source record
- Official CVE record