CVE-2026-96740: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Red Hat streams for Apache Kafka 2
A flaw was found in the StreamsHub Console for Apache Kafka. Tenant-supplied Kafka client properties from the Console custom resource are copied into the console-api AdminClient configuration without filtering security-sensitive keys, allowing a Console CR author to set config.providers and bootstrap.servers to exfiltrate the console-api ServiceAccount token to an attacker-controlled broker.
AI Analysis
Technical Summary
The vulnerability arises from unfiltered tenant-supplied Kafka client properties being incorporated into the console-api AdminClient configuration in the StreamsHub Console for Apache Kafka. This lack of filtering permits a Console custom resource author to manipulate config.providers and bootstrap.servers settings to exfiltrate the console-api ServiceAccount token to a broker controlled by an attacker. The issue is classified under CWE-470 (Use of Externally-Controlled Input to Select Classes or Code, 'Unsafe Reflection'). Red Hat's assessment states this flaw does not impact any currently supported Red Hat products. Mitigation involves restricting create, update, and patch permissions on Console custom resources to trusted administrators and applying NetworkPolicy to restrict Console API egress to approved Kafka brokers. The permanent fix will filter security-sensitive Kafka client properties in a future release.
Potential Impact
The vulnerability can lead to unauthorized disclosure of the console-api ServiceAccount token by allowing an attacker to exfiltrate it to an attacker-controlled Kafka broker. This compromises confidentiality by exposing sensitive credentials. There is also potential for unauthorized code execution or altered execution logic due to unsafe reflection. Denial of service impacts such as crashes or hangs may occur if the wrong code is invoked with unexpected arguments. However, Red Hat states no currently supported products are affected by this vulnerability.
Mitigation Recommendations
Red Hat recommends restricting create, update, and patch permissions for Console custom resources to trusted administrators only. Where supported, apply NetworkPolicy to restrict Console API egress traffic to approved Kafka broker endpoints. These mitigations reduce exposure to ServiceAccount token disclosure but do not replace the permanent fix. Users should upgrade to a release containing the permanent fix when it becomes available, which will filter security-sensitive Kafka client properties.
CVE-2026-96740: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in Red Hat streams for Apache Kafka 2
Description
A flaw was found in the StreamsHub Console for Apache Kafka. Tenant-supplied Kafka client properties from the Console custom resource are copied into the console-api AdminClient configuration without filtering security-sensitive keys, allowing a Console CR author to set config.providers and bootstrap.servers to exfiltrate the console-api ServiceAccount token to an attacker-controlled broker.
CVSS v3.1
Score 6.5medium
Affected software
Red Hat
streams for Apache Kafka 2
Red Hat
streams for Apache Kafka 3
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from unfiltered tenant-supplied Kafka client properties being incorporated into the console-api AdminClient configuration in the StreamsHub Console for Apache Kafka. This lack of filtering permits a Console custom resource author to manipulate config.providers and bootstrap.servers settings to exfiltrate the console-api ServiceAccount token to a broker controlled by an attacker. The issue is classified under CWE-470 (Use of Externally-Controlled Input to Select Classes or Code, 'Unsafe Reflection'). Red Hat's assessment states this flaw does not impact any currently supported Red Hat products. Mitigation involves restricting create, update, and patch permissions on Console custom resources to trusted administrators and applying NetworkPolicy to restrict Console API egress to approved Kafka brokers. The permanent fix will filter security-sensitive Kafka client properties in a future release.
Potential Impact
The vulnerability can lead to unauthorized disclosure of the console-api ServiceAccount token by allowing an attacker to exfiltrate it to an attacker-controlled Kafka broker. This compromises confidentiality by exposing sensitive credentials. There is also potential for unauthorized code execution or altered execution logic due to unsafe reflection. Denial of service impacts such as crashes or hangs may occur if the wrong code is invoked with unexpected arguments. However, Red Hat states no currently supported products are affected by this vulnerability.
Mitigation Recommendations
Red Hat recommends restricting create, update, and patch permissions for Console custom resources to trusted administrators only. Where supported, apply NetworkPolicy to restrict Console API egress traffic to approved Kafka broker endpoints. These mitigations reduce exposure to ServiceAccount token disclosure but do not replace the permanent fix. Users should upgrade to a release containing the permanent fix when it becomes available, which will filter security-sensitive Kafka client properties.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-09-23T15:44:19.471Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-96740","vendor":"Red Hat"}]
Threat ID: 6abaa867f7a7c5410601fb5a
Added to database: 09/28/2026, 17:48:23 UTC
Last enriched: 09/28/2026, 18:02:41 UTC
Last updated: 09/29/2026, 01:57:22 UTC
Views: 9
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.