{"id":"CVE-2026-62845","published":"2026-07-30T21:10:10Z","modified":"2026-07-31T11:18:41Z","title":"Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers","vendor":"clastix","product":"kamaji","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00324,"percentile":0.26167,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/clastix/kamaji/security/advisories/GHSA-r47v-ppwp-fh4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/clastix/kamaji/commit/6a9f3e10ae408e7948e2aca2db694791a299e79c","tags":["x_refsource_MISC"]},{"url":"https://github.com/clastix/kamaji/releases/tag/26.7.4-edge","tags":["x_refsource_MISC"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":5.23},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"clastix","affectedVersions":[{"vendor":"clastix","product":"kamaji","versions":["< 26.6.4-edge"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-31T11:18:37.166360Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-51312","exploited":false,"provenance":"source"}}