Advisory

GHSA-99j8-wv67-4c72

Also known as: CVE-2026-39961, GO-2026-5283

Summary

Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource

Details

Impact
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.

Patches

This vulnerability is resolved in version 0.37.0. We recommend all users update as soon as possible.

Credits

Credits to Andrés Cruciani for finding and reporting the bug through our bug bounty program

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-10 17:22 UTC
Modified
2026-06-25 19:56 UTC

Affected packages and fixes

github.com/aiven/aiven-operator

Go · All systems

Affected

  • introduced 0.31.0, fixed 0.37.0 (semver)

Fixed versions

0.37.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences