CVE-2026-62845 PUBLISHED

Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers

Assigner: GitHub_M
Reserved: 14.07.2026 Published: 30.07.2026 Updated: 31.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
CVSS Score: 4.7

Product Status

Vendor clastix
Product kamaji
Versions
  • Version < 26.6.4-edge is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE