CVE-2026-39961

MEDIUM

Aiven Operator has cross-namespace secret exfiltration via ClickhouseUser connInfoSecretSource

Title source: cna

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.

Scores

CVSS v3 6.8
EPSS 0.0003
EPSS Percentile 9.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Details

CWE
CWE-269 CWE-441
Status published
Products (2)
aiven/aiven-operator 0.31.0 - 0.37.0Go
aiven/aiven-operator < 0.37.0
Published Apr 09, 2026
Tracked Since Apr 09, 2026