{
  "id": "CVE-2026-130082",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-130082",
  "published_at": "2026-11-16T21:59:57.176Z",
  "title": "django-tenants 3.4.8 before 4.0.1 SQL Injection via Unescaped Schema Name",
  "vendor": "django-tenants",
  "product": "django-tenants",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "django-tenants",
        "product": "django-tenants",
        "ranges": [
          "\u003e= 3.4.8, \u003c 4.0.1"
        ],
        "fixed_in": [
          "4.0.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade django-tenants to 4.0.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/django-tenants/django-tenants/security/advisories/GHSA-693j-7v9f-x7pw"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/django-tenants/django-tenants/commit/46d89c0fccc820f88657e6ec152ba855072571ff"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/django-tenants/django-tenants/releases/tag/v4.0.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
