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.
Published: 2026-07-30
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Kamaji constructs database schema definitions by interpolating the user‑supplied DataStoreUsername and DataStoreSchema identifiers directly into DDL statements without escaping or validating them. This omission allows an attacker who can supply a value containing a quote character to break out of the quoted identifier and inject arbitrary SQL. The injection is executed using Kamaji’s root connection to the shared PostgreSQL or MySQL datastore, giving the attacker the ability to read, modify, or delete any data in the cluster’s data store, potentially compromising the confidentiality, integrity, and availability of the entire Kubernetes environment.

Affected Systems

All releases of clastix Kamaji before 26.7.4-edge that use the PostgreSQL or MySQL datastore drivers are vulnerable. The etcd driver is not affected. Users running versions prior to 26.7.4-edge on any topology that relies on a shared PostgreSQL or MySQL backend are impacted.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity, and the EPSS score is <1%, indicating a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a malicious DataStoreUsername or DataStoreSchema value, so the attack vector is likely through an API or configuration interface that accepts these fields. If such an interface is exposed, the attacker could gain unrestricted database access until the patch is applied.

Generated by OpenCVE AI on August 3, 2026 at 10:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Kamaji to version 26.7.4-edge or newer, which validates and escapes datastore identifiers.
  • Ensure that any DataStoreUsername and DataStoreSchema values configured in Kamaji are sanitized or set to trusted identifiers to avoid injection of unescaped characters.
  • Restrict access to the API or configuration mechanism that modifies DataStoreUsername and DataStoreSchema to privileged administrators only, and disable it for untrusted users where possible.

Generated by OpenCVE AI on August 3, 2026 at 10:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 31 Jul 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Clastix
Clastix kamaji
Vendors & Products Clastix
Clastix kamaji

Thu, 30 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
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.
Title Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-31T11:18:41.336Z

Reserved: 2026-07-14T21:10:50.031Z

Link: CVE-2026-62845

cve-icon Vulnrichment

Updated: 2026-07-31T11:18:27.540Z

cve-icon NVD

Status : Received

Published: 2026-07-30T22:16:55.457

Modified: 2026-07-31T12:16:53.010

Link: CVE-2026-62845

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T10:30:18Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')