CVE-2026-110952: Apache Kafka: Broker does not enforce JWT issuer and audience validation for SASL/OAUTHBEARER by default

Published Oct 28, 2026
·
Updated

A Kafka broker that authenticates clients with SASL/OAUTHBEARER using the bundled JWKS-backed validator always verifies the JWT signature, but two further checks are only performed when explicitly configured:

- The issuer (iss) claim is verified only when sasl.oauthbearer.expected.issuer is set. When it is unset, a validly-signed token carrying the expected audience is accepted regardless of which issuer minted it. - An audience (aud) claim is required only when sasl.oauthbearer.expected.audience is set. When it is unset, a validly-signed token that omits the aud claim is accepted. (A token that carries an aud claim is still rejected when no expected audience is configured.)

Both options default to unset and have been documented as optional (Importance LOW) since KIP-768 (3.1.0).

Impact: The exposure is realizable mainly in deployments whose JWKS endpoint serves signing keys for more than one issuer (a multi-tenant identity provider, an aggregated/shared JWKS, or shared signing keys): a token minted for a different issuer, or a token lacking an audience, may be accepted to authenticate — potentially as a higher-privileged principal. In a single-issuer deployment where the provider controls the iss claim and issues audience-scoped tokens, exposure is limited. The signature trust anchor remains enforced in all cases. This is distinct from CVE-2026-33557 (acceptance of unsigned/unvalidated tokens); here the signature is validated and only the issuer/audience checks are not enforced by default.

Mitigation (all affected versions, no upgrade required): Set both sasl.oauthbearer.expected.issuer (to your provider's exact iss value) and sasl.oauthbearer.expected.audience (to the audience(s) your brokers expect), per listener. Brokers that set these perform exact-match issuer/audience checks and are not affected. Both have been available since 3.1.0.

Resolution: - From Apache Kafka 4.4.0: a broker configured with a JWKS endpoint fails to start unless both sasl.oauthbearer.expected.issuer and sasl.oauthbearer.expected.audience are set (secure by default). Deployments that intentionally do not restrict the issuer and/or audience may opt out per axis with sasl.oauthbearer.allow.unverified.issuer=true and/or sasl.oauthbearer.allow.unverified.audience=true.

Affected Software

3 affected componentsFixes available
Apache Kafka<4.4.0
ubuntu/kafka*
bitnami/kafka>=3.1.0<4.4.0
4.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/kafka to a version that resolves this vulnerability.

    Fixed in 4.4.0
  2. Upgrade

    Upgrade Apache Kafka to a version that resolves this vulnerability.

    Fixed in 4.4.0
  3. Configuration

    Configure both settings per listener to enforce exact-match issuer and audience validation.

    Apache Kafka SASL/OAUTHBEARER bundled JWKS-backed validator sasl.oauthbearer.expected.issuer and sasl.oauthbearer.expected.audience = Set sasl.oauthbearer.expected.issuer to the provider's exact iss value and sasl.oauthbearer.expected.audience to the audience(s) expected by the brokers

Event History

Oct 28, 2026
CVE Published
via MITRE·04:37 PM
Data Sourced
via MITRE·04:37 PM
DescriptionWeakness
Data Sourced
via OSV·05:17 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Nov 17, 2026
Advisory Published
via OSV·11:47 AM

Frequently Asked Questions

1

Are brokers using the default configuration affected?

The issuer and audience expectation settings default to unset. A broker using the bundled JWKS-backed SASL/OAUTHBEARER validator therefore does not require a configured issuer or an audience claim unless sasl.oauthbearer.expected.issuer and sasl.oauthbearer.expected.audience are explicitly set.

2

Which deployments have the most practical exposure?

Exposure is mainly realizable when the JWKS endpoint provides keys for more than one issuer, such as with a multi-tenant identity provider, aggregated or shared JWKS, or shared signing keys. In that situation, a validly signed token from another issuer, or one without an audience claim, may authenticate and potentially map to a higher-privileged principal.

3

What must an attacker have for exploitation?

The attacker needs a JWT whose signature validates against the broker's configured JWKS. If no expected issuer is configured, the token can be minted by a different issuer sharing that JWKS as long as it carries the expected audience; if no expected audience is configured, a signed token without an aud claim can be accepted.

4

What configuration changes reduce exposure if patching is not immediately possible?

Configure sasl.oauthbearer.expected.issuer to require the intended issuer and sasl.oauthbearer.expected.audience to require the intended audience. These checks are performed only when the respective settings are explicitly configured.

5

How can I determine whether a broker is exposed?

Review brokers that use SASL/OAUTHBEARER with the bundled JWKS-backed validator and check whether sasl.oauthbearer.expected.issuer or sasl.oauthbearer.expected.audience are unset. Also determine whether the configured JWKS can validate tokens from multiple issuers or uses shared signing keys.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203