CVE-2026-39961: Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource
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.
References
- github.com/advisories/GHSA-99j8-wv67-4c72
- github.com/aiven/aiven-operator
- github.com/aiven/aiven-operator/commit/032c9ba63257fdd2fddfb7f73f71830e371ff182
- github.com/aiven/aiven-operator/releases/tag/v0.37.0
- github.com/aiven/aiven-operator/security/advisories/GHSA-99j8-wv67-4c72
- nvd.nist.gov/vuln/detail/CVE-2026-39961
Code Behaviors & Features
Detect and mitigate CVE-2026-39961 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →