CVE-2026-39961 Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Kubernetes
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| aiven github.com/aiven/aiven-operator(Go) | >= 0.31.0, < 0.37.0 | 0.37.0 | Fixed |
| aiven operator | >= 0.31.0, < 0.37.0 | 0.37.0 | Fixed |
| aiven github.com/aiven/aiven-operator | = < 0.37.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| aiven github.com/aiven/aiven-operator(Go) | >= 0.31.0, < 0.37.0 | 0.37.0 |
| aiven github.com/aiven/aiven-operator | = < 0.37.0 | No fix listed |
| aiven operator | >= 0.31.0, < 0.37.0 | 0.37.0 |
References
- https://github.com/aiven/aiven-operator/security/advisories/GHSA-99j8-wv67-4c72 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/aiven/aiven-operator/commit/032c9ba63257fdd2fddfb7f73f71830e371ff182 patch
- github.com product
- https://github.com/aiven/aiven-operator/releases/tag/v0.37.0 product release-notes
- github.com