# CVE-2026-62845: Kamaji: SQL injection via unescaped datastore identifiers in PostgreSQL/MySQL drivers

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-30T21:10:10.512Z
- Modified: 2026-10-23T22:10:00.160Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- clastix kamaji: < 26.6.4-edge

## References

- <https://github.com/clastix/kamaji/security/advisories/GHSA-r47v-ppwp-fh4r> (exploit)
- <https://github.com/clastix/kamaji/commit/6a9f3e10ae408e7948e2aca2db694791a299e79c>
- <https://github.com/clastix/kamaji/releases/tag/26.7.4-edge>

## Sources

- CVE List: [CVE-2026-62845](https://www.cve.org/CVERecord?id=CVE-2026-62845), CVE Terms of Use, modified 2026-07-31
- NVD: [CVE-2026-62845](https://nvd.nist.gov/vuln/detail/CVE-2026-62845), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-62845 · Whole record: https://cve.day/CVE-2026-62845.json · Rebuilt by cve.day 2026-11-25T22:59:30.667Z
