Skip to content

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

MediumCVSS 4.9 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Kubernetes

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
aiven github.com/aiven/aiven-operator(Go) >= 0.31.0, < 0.37.0 0.37.0 Fixed
aiven operator >= 0.31.0, < 0.37.0 0.37.0 Fixed
aiven github.com/aiven/aiven-operator = < 0.37.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
aiven github.com/aiven/aiven-operator(Go) >= 0.31.0, < 0.37.0 0.37.0
aiven github.com/aiven/aiven-operator = < 0.37.0 No fix listed
aiven operator >= 0.31.0, < 0.37.0 0.37.0

References