{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "26.6.4-edge"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5e576071f010baa587f8de9027b66324dcea7af5"
            }
          ],
          "repo": "https://github.com/clastix/kamaji",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r47v-ppwp-fh4r"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62845.json"
  },
  "details": "Kamaji is the Hosted Control Plane Manager for Kubernetes. Prior to 26.7.4-edge, the PostgreSQL and MySQL datastore drivers build DDL statements by interpolating the user-supplied DataStoreUsername/DataStoreSchema directly into SQL via fmt.Sprintf, without escaping identifiers. These fields have no format validation, so a value containing a quote character breaks out of the quoted identifier — SQL injection executed over Kamaji's root connection to the shared datastore. etcd driver is not affected.This issue is fixed in version 26.7.4-edge.",
  "id": "CVE-2026-62845",
  "modified": "2026-08-04T11:31:17.205168233Z",
  "published": "2026-07-30T21:10:10.512Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/clastix/kamaji/releases/tag/26.7.4-edge"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62845.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/clastix/kamaji/security/advisories/GHSA-r47v-ppwp-fh4r"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-62845"
    },
    {
      "type": "FIX",
      "url": "https://github.com/clastix/kamaji/commit/6a9f3e10ae408e7948e2aca2db694791a299e79c"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers"
}