{"answers":{"affected":"3 open source packages ship an affected version, including github.com/aiven/aiven-operator. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-39961 in the wild and no public exploit code.","fix":"Upgrade github.com/aiven/aiven-operator to 0.37.0 or later.","what":"CVE-2026-39961 is a medium-severity vulnerability in aiven-operator, published on 9 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-39961 and fix it if it is affected.\n\nWhat it is: CVE-2026-39961 is a medium-severity vulnerability in aiven-operator, published on 9 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-39961 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/aiven/aiven-operator (Go): affected from 0.31.0; fixed in 0.37.0\n- github.com/aiven/aiven-operator (Go): affected from 0.31.0; fixed in 0.37.0\n- github.com/aiven/aiven-operator (Go): affected from 0.31.0; fixed in 0.37.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-39961/ (Markdown: https://insights.sbomify.com/CVE-2026-39961/index.md)","id":"CVE-2026-39961","markdown":"https://insights.sbomify.com/CVE-2026-39961/index.md","name":"CVE-2026-39961","record":{"aliases":["GHSA-99j8-wv67-4c72","GO-2026-5283"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes operator","requires_auth":"high_privilege","summary":"A developer can exfiltrate secrets from other namespaces by exploiting a confused deputy flaw in the Aiven Operator's ClickhouseUser handling.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"aiven_operator","vendor":"aiven"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-441","name":"Unintended Proxy or Intermediary"},{"id":"CWE-269","name":"Improper Privilege Management"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource","id":"CVE-2026-39961","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"LDAP injection in MISP ApacheAuthenticate when using a user-controlled Apache environment variable","id":"CVE-2026-39962"},"packages":[{"ecosystem":"Go","fixed":["0.37.0"],"introduced":["0.31.0"],"last_affected":[],"package":"github.com/aiven/aiven-operator","purl":null,"source":"GHSA-99j8-wv67-4c72"},{"ecosystem":"Go","fixed":["0.37.0"],"introduced":["0.31.0"],"last_affected":[],"package":"github.com/aiven/aiven-operator","purl":"pkg:golang/github.com/aiven/aiven-operator","source":"GHSA-99j8-wv67-4c72"},{"ecosystem":"Go","fixed":["0.37.0"],"introduced":["0.31.0"],"last_affected":[],"package":"github.com/aiven/aiven-operator","purl":"pkg:golang/github.com/aiven/aiven-operator","source":"GO-2026-5283"}],"prev":{"headline":"MantisBT is Vulnerable to Stored XSS through Custom Field Textarea Values","id":"CVE-2026-39960"},"products":["aiven-operator"],"published":"2026-04-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-10","vendors":["aiven"]},"summary":"A developer can exfiltrate secrets from other namespaces by exploiting a confused deputy flaw in the Aiven Operator's ClickhouseUser handling.","url":"https://insights.sbomify.com/CVE-2026-39961/"}