{"id":"CVE-2026-130082","aliases":["CVE-2026-130082"],"related":[],"kind":"vulnerability","state":"published","title":"django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-16T21:59:57.176Z","modified":"2026-11-17T14:17:42.530Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"3.4.8","fixed":"4.0.1","status":"affected"}],"vendor":"django-tenants","product":"django-tenants","repo":"https://github.com/django-tenants/django-tenants","source":"cvelist"}],"references":[{"url":"https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L208-L213","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L46","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/django-tenants-3.4.8-before-4.0.1-sql-injection-via-unescaped-schema-name","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Amirbek Raxmatullayev"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-17T13:57:24.900Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-130082","url":"https://www.cve.org/CVERecord?id=CVE-2026-130082","licence":"CVE Terms of Use","modified":"2026-11-17T13:57:36.556Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-130082","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130082","licence":"Public domain","modified":"2026-11-17T14:17:42.530Z"}],"updatedAt":"2026-11-25T22:59:50.939Z","epss":{"score":0.00379,"percentile":0.33967,"date":"2026-12-01T12:00:22.000Z"}}