{"id":"GHSA-99j8-wv67-4c72","summary":"Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource","details":"### Impact\nA 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.\n\nThe 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.\n\n### Patches\n\nThis vulnerability is resolved in version 0.37.0. We recommend all users update as soon as possible.\n\n### Credits\n\nCredits to Andrés Cruciani for finding and reporting the bug through our [bug bounty program](https://bugcrowd.com/aiven-mbb-og)","aliases":["CVE-2026-39961","GO-2026-5283"],"modified":"2026-06-25T19:56:12.055510209Z","published":"2026-04-10T17:22:00Z","database_specific":{"cwe_ids":["CWE-269","CWE-441"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-04-10T17:22:00Z","nvd_published_at":"2026-04-09T18:17:02Z"},"references":[{"type":"WEB","url":"https://github.com/aiven/aiven-operator/security/advisories/GHSA-99j8-wv67-4c72"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39961"},{"type":"WEB","url":"https://github.com/aiven/aiven-operator/commit/032c9ba63257fdd2fddfb7f73f71830e371ff182"},{"type":"PACKAGE","url":"https://github.com/aiven/aiven-operator"},{"type":"WEB","url":"https://github.com/aiven/aiven-operator/releases/tag/v0.37.0"}],"affected":[{"package":{"name":"github.com/aiven/aiven-operator","ecosystem":"Go","purl":"pkg:golang/github.com/aiven/aiven-operator"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.31.0"},{"fixed":"0.37.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-99j8-wv67-4c72/GHSA-99j8-wv67-4c72.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N"}]}