6.8medium
Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-99j8-wv67-4c72GO-2026-5283
Description
Aiven Operator allows you to provision and manage Aiven Services from your Kubernetes cluster. From 0.31.0 to before 0.37.0, a developer with create permission on ClickhouseUser CRDs in their own namespace can exfiltrate secrets from any other namespace — production database credentials, API keys, service tokens — with a single kubectl apply. The operator reads the victim's secret using its ClusterRole and writes the password into a new secret in the attacker's namespace. The operator acts as a confused deputy: its ServiceAccount has cluster-wide secret read/write (aiven-operator-role ClusterRole), and it trusts user-supplied namespace values in spec.connInfoSecretSource.namespace without validation. No admission webhook enforces this boundary — the ServiceUser webhook returns nil, and no ClickhouseUser webhook exists. This vulnerability is fixed in 0.37.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aiven aiven-operator | < 0.37.0 | CVE List |
| github.com/aiven/aiven-operator (Go) | from 0.31.0 before 0.37.0 | GitHub Advisory Database, Go Vulnerability Database |
| aiven aiven_operator | from 0.31.0 before 0.37.0 | NVD |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
| NVD | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
Aiven Operator allows you to provision and manage Aiven Services from your Kubernetes cluster. From 0.31.0 to before 0.37.0, a developer with create permission on ClickhouseUser CRDs in their own namespace can exfiltrate secrets from any other namespace — production database credentials, API keys, service tokens — with a single kubectl apply. The operator reads the victim's secret using its ClusterRole and writes the password into a new secret in the attacker's namespace. The operator acts as a confused deputy: its ServiceAccount has cluster-wide secret read/write (aiven-operator-role ClusterRole), and it trusts user-supplied namespace values in spec.connInfoSecretSource.namespace without validation. No admission webhook enforces this boundary — the ServiceUser webhook returns nil, and no ClickhouseUser webhook exists. This vulnerability is fixed in 0.37.0.
GitHub Advisory Database
Impact
A developer with create permission on ClickhouseUser CRDs in their own namespace can exfiltrate secrets from any other namespace — production database credentials, API keys, service tokens — with a single kubectl apply. The operator reads the victim's secret using its ClusterRole and writes the password into a new secret in the attacker's namespace.
The operator acts as a confused deputy: its ServiceAccount has cluster-wide secret read/write (aiven-operator-role ClusterRole), and it trusts user-supplied namespace values in spec.connInfoSecretSource.namespace without validation. No admission webhook enforces this boundary — the ServiceUser webhook returns nil, and no ClickhouseUser webhook exists.
Patches
This vulnerability is resolved in version 0.37.0. We recommend all users update as soon as possible.
Credits
Credits to Andrés Cruciani for finding and reporting the bug through our bug bounty program
Go Vulnerability Database
Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource in github.com/aiven/aiven-operator
NVD (es)
Aiven Operator le permite aprovisionar y gestionar Servicios de Aiven desde su clúster de Kubernetes. Desde la versión 0.31.0 hasta antes de la 0.37.0, un desarrollador con permiso de creación en CRDs de ClickhouseUser en su propio espacio de nombres puede exfiltrar secretos de cualquier otro espacio de nombres - credenciales de base de datos de producción, claves de API, tokens de servicio - con un solo kubectl apply. El operador lee el secreto de la víctima usando su ClusterRole y escribe la contraseña en un nuevo secreto en el espacio de nombres del atacante. El operador actúa como un confused deputy: su ServiceAccount tiene lectura/escritura de secretos a nivel de clúster (ClusterRole aiven-operator-role), y confía en los valores de espacio de nombres proporcionados por el usuario en spec.connInfoSecretSource.namespace sin validación. Ningún webhook de admisión aplica este límite - el webhook de ServiceUser devuelve nil, y no existe ningún webhook de ClickhouseUser. Esta vulnerabilidad está corregida en la versión 0.37.0.
References
| https://github.com/aiven/aiven-operator/security/advisories/GHSA-99j8-wv67-4c72 | advisory, vendor-advisory, web | |
| https://github.com/aiven/aiven-operator/commit/032c9ba63257fdd2fddfb7f73f71830e371ff182 | fix, patch, web | |
| https://github.com/aiven/aiven-operator/releases/tag/v0.37.0 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-39961 | advisory | |
| https://github.com/aiven/aiven-operator | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39961 changed 2026-04-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-99j8-wv67-4c72 changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5283 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-39961 changed 2026-10-26 | Public domain |