Skip to main content
Vulnerability Database/CVE-2026-85301

CVE-2026-85301: Apache Camel Keycloak Auth Bypass Flaw

CVE-2026-85301 is an authentication bypass flaw in Apache Camel Keycloak component that allows unauthorized access when the introspection endpoint omits the issuer claim. This post covers technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-85301 Overview

CVE-2026-85301 is an Improper Authentication vulnerability [CWE-287] in the Apache Camel Keycloak component. The security processor validated the issuer of an introspected token only when the introspection response carried an iss claim. When the claim was absent, the check was skipped rather than treated as a failure. A token not minted by the configured issuer could be accepted if the introspection endpoint responded without naming an issuer. The flaw affects Apache Camel versions 4.15.0 through 4.18.4 and 4.19.0 through 4.22.0.

Critical Impact

Deployments running an introspection endpoint that omits the iss claim and accepts tokens from multiple issuers may authenticate callers that should have been rejected.

Affected Products

  • Apache Camel Keycloak component 4.15.0 through 4.18.4
  • Apache Camel Keycloak component 4.19.0 through 4.22.0
  • Deployments using introspection endpoints that omit the iss claim

Discovery Timeline

  • 2026-10-19 - CVE-2026-85301 published to the National Vulnerability Database
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-85301

Vulnerability Analysis

The Apache Camel Keycloak component performs token introspection against an OAuth 2.0 authorization server to validate bearer tokens. During validation, the security processor compares the token issuer against the configured expected issuer. The flaw sits in how the processor handled a missing iss claim in the introspection response.

Instead of rejecting responses that lacked the iss claim, the code skipped the issuer check entirely. An attacker holding a token minted by a different issuer could pass authentication if the introspection endpoint accepted that token and returned a response without the iss field. Exploitation requires a non-default configuration where the introspection endpoint omits iss and serves more than one issuer. See the Apache Camel CVE-2026-85301 Advisory for full details.

Root Cause

The validation logic treated the presence of the iss claim as a precondition for the issuer check. The code path handled the absent-claim case as a benign skip rather than a validation failure. This conflates "no issuer was asserted" with "any issuer is acceptable," breaking the trust boundary that bearer-token introspection is meant to enforce.

Attack Vector

An attacker needs network access to a Camel route protected by the Keycloak component and a valid token from an issuer other than the configured one. The configured introspection endpoint must accept that foreign token and return a response that omits the iss field. When those conditions align, the Camel processor authenticates the request as valid. The vulnerability does not grant arbitrary access against default Keycloak deployments, since Keycloak normally includes iss in introspection responses.

The vulnerability is described in prose only; no public proof-of-concept code is available. Technical references are published in Apache Camel Pull Request #25827, Pull Request #25858, and Pull Request #25859.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-85301

Indicators of Compromise

  • Successful authentications in Camel application logs where the bearer token's iss claim does not match the configured expected issuer.
  • Introspection responses from the configured OAuth 2.0 provider that lack the iss field.
  • Access to protected Camel routes by principals that were provisioned in a different identity provider realm.

Detection Strategies

  • Inventory all applications using the camel-keycloak component and record their running versions against the fixed releases 4.18.5, 4.22.1, and 4.23.0.
  • Instrument the introspection client to log the full introspection response and alert when iss is missing.
  • Correlate authentication events with upstream identity provider logs to confirm the token issuer matches the configured value.

Monitoring Recommendations

  • Capture Camel security processor logs in a centralized log pipeline and alert on repeated authentications where issuer context is absent.
  • Monitor configuration drift on OAuth 2.0 introspection endpoints to detect any change that removes the iss field from responses.
  • Track deployment inventories of Apache Camel versions and flag any instance in the vulnerable 4.15.0-4.18.4 or 4.19.0-4.22.0 ranges.

How to Mitigate CVE-2026-85301

Immediate Actions Required

  • Upgrade Apache Camel to 4.23.0 on the current release stream.
  • Upgrade to 4.18.5 on the 4.18.x LTS release stream.
  • Upgrade to 4.22.1 on the 4.22.x LTS release stream.
  • Audit the OAuth 2.0 introspection endpoint configuration to confirm it returns the iss claim and serves exactly one issuer.

Patch Information

Apache Camel 4.23.0, 4.22.1, and 4.18.5 contain the fix. The patched code treats an absent iss claim as a validation failure rather than a reason to skip the issuer check. See Apache Camel Pull Request #25827 and JIRA Issue CAMEL-24448 for the implementation details.

Workarounds

  • Configure the introspection endpoint so it always emits the iss claim in every response.
  • Restrict the introspection endpoint to serve tokens from exactly one issuer.
  • Place the Camel application behind a reverse proxy or API gateway that validates the bearer token's iss claim before the request reaches Camel.
bash
# Verify installed Apache Camel version against the fixed releases
mvn dependency:tree | grep camel-keycloak

# Expected output should show one of the fixed versions:
# org.apache.camel:camel-keycloak:jar:4.18.5
# org.apache.camel:camel-keycloak:jar:4.22.1
# org.apache.camel:camel-keycloak:jar:4.23.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.