django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name
- CVE-2026-130082
- GHSA-pg64-4qv2-75g5
- EUVD-2026-126711
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.
Text from the CVE.org record.
Recommendation
django-tenants
- If you run a version from 3.4.8 to before 4.0.1update to 4.0.1 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
django-tenants
Affected versions Fixed in from 3.4.8 to before 4.0.1 4.0.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.