Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-62845
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:33 UTC · Revision 1
Source evidence
Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers
core-osv · Original sourcePublished 30 Jul 2026, 21:10 UTC
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.
osv:CVE-2026-62845
Complete source record
{
"id": "54efc78278dbb312998815d5d7015fc6fd4c5558979ddd1f38d5cda5b62e6e30",
"url": "https://osv.dev/vulnerability/CVE-2026-62845",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers",
"summary": "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.",
"evidence": "osv:CVE-2026-62845",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-62845",
"aliases": [
"CVE-2026-62845",
"GHSA-r47v-ppwp-fh4r"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/clastix/kamaji",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "5e576071f010baa587f8de9027b66324dcea7af5"
},
{
"fixed": "6a9f3e10ae408e7948e2aca2db694791a299e79c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "26.6.4-edge"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "6a9f3e10ae408e7948e2aca2db694791a299e79c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "6a9f3e10ae408e7948e2aca2db694791a299e79c"
}
],
"source": "REFERENCES_TAG",
"original_tag": "26.7.4-edge"
}
]
}
}
],
"versions": [
"26.6.3-edge",
"26.6.2-edge",
"26.6.1-edge",
"26.5.5-edge",
"26.5.4-edge",
"26.5.3-edge",
"26.5.2-edge",
"26.4.5-edge",
"26.4.4-edge",
"26.4.3-edge",
"26.4.2-edge",
"26.3.6-edge",
"26.3.5-edge",
"26.3.4-edge",
"26.3.3-edge",
"26.3.2-edge",
"edge-26.2.5",
"edge-26.2.4",
"edge-26.2.3",
"edge-26.2.2",
"edge-26.1.5",
"edge-26.1.4",
"edge-26.1.3",
"edge-26.1.2",
"edge-25.12.5",
"edge-25.12.4",
"edge-25.12.3",
"edge-25.12.2",
"edge-25.12.1",
"edge-25.11.5",
"edge-25.11.4",
"edge-25.11.3",
"edge-25.11.2",
"edge-25.10.5",
"edge-25.10.4",
"edge-25.10.3",
"edge-25.10.2",
"edge-25.9.5",
"edge-25.9.4",
"edge-25.9.3",
"edge-25.9.2",
"edge-25.9.1",
"edge-25.8.5",
"edge-25.8.4",
"edge-25.8.3",
"edge-25.8.2",
"edge-25.7.5",
"edge-25.7.3",
"edge-25.7.2",
"edge-25.7.1",
"edge-25.4.1",
"edge-25.3.2",
"edge-25.03.1",
"edge-24.12.1",
"edge-24.10.1",
"edge-24.9.2",
"edge-24.9.1",
"edge-24.8.2",
"edge-24.8.1",
"edge-24.7.1",
"v1.0.0",
"helm-v1.0.0",
"v0.6.1",
"helm-v0.16.1",
"v0.6.0",
"helm-v0.16.0",
"v0.5.0",
"helm-v0.15.2",
"v0.4.2",
"helm-v0.15.1",
"helm-v0.15.0",
"v0.4.1",
"helm-v0.14.1",
"v0.4.0",
"helm-v0.14.0",
"v0.3.6",
"helm-v0.13.1",
"helm-v0.13.0",
"helm-v0.12.9",
"helm-v0.12.8",
"v0.3.5",
"helm-v0.12.7",
"helm-v0.12.6",
"v0.3.4",
"helm-v0.12.5",
"v0.3.3",
"helm-v0.12.4",
"v0.3.2",
"helm-v0.12.3",
"v0.3.1",
"helm-v0.12.2",
"helm-v0.12.1",
"v0.3.0",
"helm-v0.12.0",
"v0.2.3",
"helm-v0.11.5",
"v0.2.2",
"helm-v0.11.4",
"helm-v0.11.3",
"v0.2.1",
"helm-v0.11.2",
"helm-v0.11.1",
"v0.2.0",
"helm-v0.11.0",
"v0.2.0-rc0",
"helm-v0.10.2",
"helm-v0.10.1",
"v0.1.1",
"helm-v0.10.0",
"helm-v0.9.4",
"helm-v0.9.3",
"v0.1.0",
"helm-v0.9.2",
"helm-v0.9.1",
"helm-v0.8.0",
"helm-v0.7.0",
"helm-v0.6.0",
"helm-v0.5.0",
"helm-v0.4.0",
"helm-v0.3.0",
"helm-v0.2.0",
"v0.1.0-rc0",
"v0.0.2-rc0",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62845.json"
}
}
],
"modified": "2026-10-28T02:30:37.781398182Z",
"provider": "osv",
"references": [
"https://github.com/clastix/kamaji/releases/tag/26.7.4-edge",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62845.json",
"https://github.com/clastix/kamaji/security/advisories/GHSA-r47v-ppwp-fh4r",
"https://nvd.nist.gov/vuln/detail/CVE-2026-62845",
"https://github.com/clastix/kamaji/commit/6a9f3e10ae408e7948e2aca2db694791a299e79c"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62845.json"
}
},
"related_cves": [
{
"value": "CVE-2026-62845",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505337,
"published_at": "2026-07-30T21:10:10.512+00:00"
}