Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/aiven/aiven-operator
  4. ›
  5. CVE-2026-39961

CVE-2026-39961: Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource

April 10, 2026

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 →

Affected versions

All versions starting from 0.31.0 before 0.37.0

Fixed versions

  • 0.37.0

Solution

Upgrade to version 0.37.0 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')

Source file

go/github.com/aiven/aiven-operator/CVE-2026-39961.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:28 +0000.