PT-2026-148522
CVE-2026-130082
·
Published
2026-11-16
·
Updated
2026-11-16
Description by
CVSS 3.1
8.8
HighMetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
django-tenants versions 3.4.8 through 4.0.0
Description
The PostgreSQL backend contains an SQL injection flaw where tenant schema names are not properly escaped. Attackers capable of influencing a schema name can use quote characters to manipulate SQL statements, specifically affecting SET search path and CREATE, DROP, or ALTER SCHEMA operations. This allows unauthorized access to data from other tenants or the execution of arbitrary SQL commands with the privileges of the application database user.
Recommendations
Update django-tenants to version 4.0.1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾