Description
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.
Severity (CVSS)
| Base score | 4.7 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L |
| Provided by | CNA |
Weaknesses
- CWE-89 — CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| clastix | kamaji | < 26.6.4-edge |
References
- https://github.com/clastix/kamaji/security/advisories/GHSA-r47v-ppwp-fh4r (x_refsource_CONFIRM)
- https://github.com/clastix/kamaji/commit/6a9f3e10ae408e7948e2aca2db694791a299e79c (x_refsource_MISC)
- https://github.com/clastix/kamaji/releases/tag/26.7.4-edge (x_refsource_MISC)
Generated from the official CVE List on 31 Jul 2026 07:05 UTC.