CVE-2026-62845
MEDIUMKamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/clastix/kamaji/security/advisories/GHSA-r47v-ppwp-fh4r
X_Refsource_Misc x_refsource_misc
https://github.com/clastix/kamaji/commit/6a9f3e10ae408e7948e2aca2db694791a299e79c
X_Refsource_Misc x_refsource_misc
https://github.com/clastix/kamaji/releases/tag/26.7.4-edge
Scores
CVSS v3
4.7
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Details
CWE
CWE-89
Status
published
Products (1)
clastix/kamaji
< 26.6.4-edge
Published
Jul 30, 2026
Tracked Since
Jul 31, 2026