{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-130082","id":"CVE-2026-130082","title":"django-tenants SQL injection in PostgreSQL schema names","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 a","descriptionLong":"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.","published":"2026-11-16T21:59:57.176Z","updated":"2026-11-18T20:46:06.828597722Z","reserved":"2026-11-16T20:35:59.140Z","status":"Received","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"VulnCheck"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["django-tenants"],"affectedProducts":[{"vendor":"django-tenants","product":"django-tenants","defaultStatus":"unaffected","versions":[{"version":"3.4.8","lessThan":"4.0.1","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-89"],"aliases":["GHSA-693j-7v9f-x7pw"],"references":[{"url":"https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff","tags":["patch","fix"]},{"url":"https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1","tags":["release-notes","advisory"]},{"url":"https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L208-L213","tags":["technical-description","article"]},{"url":"https://github.com/django-tenants/django-tenants/blob/v4.0.0/django_tenants/postgresql_backend/base.py#L46","tags":["technical-description","article"]},{"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","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130082.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130082","tags":["advisory"]},{"url":"https://github.com/django-tenants/django-tenants","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00302,"epssPercentile":0.23581,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-130082","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130082","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-130082","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-130082","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":["django"],"critical":[],"attention":null}