CVE-2026-39961: CWE-269: Improper Privilege Management in aiven aiven-operator
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.
AI Analysis
Technical Summary
The aiven-operator, used to manage Aiven services in Kubernetes, has a privilege escalation vulnerability (CVE-2026-39961) in versions before 0.37.0. A developer with create permission on ClickhouseUser custom resource definitions (CRDs) in their namespace can cause the operator to read secrets from any other namespace due to its cluster-wide secret read/write ClusterRole. The operator trusts the user-supplied spec.connInfoSecretSource.namespace field without validation, enabling it to exfiltrate secrets by writing them into a secret in the attacker's namespace. No admission webhooks exist to enforce namespace boundaries, allowing this confused deputy attack. The issue is resolved in version 0.37.0.
Potential Impact
An attacker with create permission on ClickhouseUser CRDs in their own namespace can exfiltrate sensitive secrets from other namespaces, including production database credentials, API keys, and service tokens. This leads to a confidentiality breach with high impact on secret data. The vulnerability does not affect integrity or availability directly. The CVSS score is 6.8 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and scope change with high confidentiality impact.
Mitigation Recommendations
This vulnerability is fixed in aiven-operator version 0.37.0. Users should upgrade to version 0.37.0 or later to remediate this issue. Until upgrading, restrict create permissions on ClickhouseUser CRDs to trusted users only. No admission webhook currently enforces namespace boundaries, so manual permission management is critical. Patch status is not explicitly stated beyond the fix in 0.37.0; check the vendor advisory for the latest remediation guidance.
CVE-2026-39961: CWE-269: Improper Privilege Management in aiven aiven-operator
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The aiven-operator, used to manage Aiven services in Kubernetes, has a privilege escalation vulnerability (CVE-2026-39961) in versions before 0.37.0. A developer with create permission on ClickhouseUser custom resource definitions (CRDs) in their namespace can cause the operator to read secrets from any other namespace due to its cluster-wide secret read/write ClusterRole. The operator trusts the user-supplied spec.connInfoSecretSource.namespace field without validation, enabling it to exfiltrate secrets by writing them into a secret in the attacker's namespace. No admission webhooks exist to enforce namespace boundaries, allowing this confused deputy attack. The issue is resolved in version 0.37.0.
Potential Impact
An attacker with create permission on ClickhouseUser CRDs in their own namespace can exfiltrate sensitive secrets from other namespaces, including production database credentials, API keys, and service tokens. This leads to a confidentiality breach with high impact on secret data. The vulnerability does not affect integrity or availability directly. The CVSS score is 6.8 (medium severity), reflecting network attack vector, low attack complexity, high privileges required, no user interaction, and scope change with high confidentiality impact.
Mitigation Recommendations
This vulnerability is fixed in aiven-operator version 0.37.0. Users should upgrade to version 0.37.0 or later to remediate this issue. Until upgrading, restrict create permissions on ClickhouseUser CRDs to trusted users only. No admission webhook currently enforces namespace boundaries, so manual permission management is critical. Patch status is not explicitly stated beyond the fix in 0.37.0; check the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T22:40:33.822Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d843791cc7ad14da3fb693
Added to database: 4/10/2026, 12:25:29 AM
Last enriched: 4/17/2026, 12:27:03 PM
Last updated: 5/25/2026, 2:27:02 AM
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.