GHSA-qvc3-6q9x-95pj
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify Camel route protected by KeycloakSecurityPolicy
-
DeliverySend HTTP request with arbitrary non-null Bearer string
-
ExploitToken-presence check passes (non-null header accepted)
-
InstallRole/permission checks skipped due to default empty configuration
-
C2Cryptographic token verification never executed
-
ExecuteRequest reaches protected route as fully authenticated
-
ImpactTrigger downstream operations or RCE-capable producer
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the target application uses org.apache.camel:camel-keycloak at an affected version (4.15.0-4.18.2 or 4.19.0-4.20.x); (2) at least one Camel route is guarded by KeycloakSecurityPolicy; and (3) the policy has requiredRoles and requiredPermissions both left at their default empty values - the condition explicitly documented as the Basic Setup in official Apache Camel Keycloak documentation. The attacker must send an HTTP request to the route's network endpoint with any non-null Authorization: Bearer header value; the string need not be a valid JWT, carry a recognizable signature, or contain any Keycloak-issued claims. Exploitation is NOT possible if: either requiredRoles or requiredPermissions is configured with at least one non-empty value (triggering the verification path); allowTokenFromHeader is false and no other token source yields a non-null value; or the deployment has been upgraded to 4.18.3 or 4.21.0. The attack is independent of Keycloak server availability - no request to Keycloak is made during the bypass. |
| Impact | No CVSS vector or EPSS score was provided with this advisory, so risk must be assessed independently. The vulnerability affects the documented default configuration, meaning operators who follow the official Basic Setup guidance are exposed without any deliberate misconfiguration. Independent CVSS 3.1 assessment yields a Critical score (~9.8): the attack vector is network, complexity is low, no privileges are required, no user interaction is needed, and the potential impact spans full confidentiality, integrity, and availability where downstream routes are powerful. The exploitation barrier is extremely low - a standard HTTP client sending any non-empty string as a Bearer token is sufficient. This is not in CISA KEV at time of analysis, and no public exploit code has been identified, which provides some near-term mitigation. However, the trivial exploit technique (no cryptographic knowledge needed, no valid credential required) means weaponization requires minimal effort. The structural nature of the flaw - embedded verification inside conditional branches that default to skipped - suggests it could have persisted undetected across code reviews because the Basic Setup appeared functional (requests with no token were still rejected). The risk is highest for Camel deployments in service-to-service or API-gateway architectures where Keycloak guards backend operations or administrative functions. |
| Exploit ScenarioDerived | An attacker with network access to a Camel application sends a standard HTTP request to any route protected by KeycloakSecurityPolicy with default empty requiredRoles and requiredPermissions, including an Authorization: Bearer <arbitrary_string> header - no valid Keycloak credential or JWT knowledge is required. The token-presence check passes (header is non-null), the role and permission checks are skipped (both lists are empty), and cryptographic verification is never invoked; the request reaches the protected route with no interaction with Keycloak. No public exploit code has been identified at time of analysis, but exploitation requires only a standard HTTP client and knowledge of the target route's URL. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Authentication bypass in Apache Camel's camel-keycloak component (versions 4.15.0-4.18.2 and 4.19.0-4.20.x) allows any caller presenting a non-null Authorization: Bearer header value - including an arbitrary string or a forged, unsigned JWT - to bypass Keycloak token verification entirely and access routes protected by KeycloakSecurityPolicy. The cryptographic token checks (signature, issuer, expiry) are embedded exclusively inside role and permission validation routines that are never invoked when requiredRoles and requiredPermissions are empty, which is the documented default 'Basic Setup.' Where the protected route connects to a code-execution-capable Camel producer, this authentication bypass can escalate to unauthenticated remote code execution; no public exploit has been identified at time of analysis.
RemediationAI
Upgrade to Apache Camel 4.18.3 if on the 4.18.x LTS stream, or to 4.21.0 for the latest release stream; both were released in early July 2026 and confirmed by the Apache Camel security advisory at https://camel.apache.org/security/CVE-2026-53913.html to contain the fix. The fix restructures KeycloakSecurityProcessor.beforeProcess() so that cryptographic token authentication always executes when a Bearer token is present, independently of role and permission configuration; role and permission checks now run only after successful authentication, and an invalid or unverifiable token is rejected identically to a missing token (the fix is in GitHub PR #23958, commit 1477cb4e87b2c301f1cdcddca5b153fbbef6934b on main, and backported to camel-4.18.x as commit b62170072348cc4073ddf705ad716aa3678d6c09). For deployments that cannot upgrade immediately, three compensating controls are available: first, configure a non-empty requiredRoles or requiredPermissions on every KeycloakSecurityPolicy - this forces the verification path to execute, but introduces a role management burden and may restrict legitimate access if roles are not correctly assigned to all callers; second, set allowTokenFromHeader to false where tokens are not expected from the HTTP request header - this blocks the primary attack vector but may break existing header-based authentication flows for legitimate clients; third, perform token verification at the framework layer (e.g., an API gateway or Camel interceptor/filter) upstream of the KeycloakSecurityPolicy - this adds defense-in-depth but requires careful scope to ensure no routes are inadvertently left unprotected by the upstream verifier. JIRA ticket CAMEL-23738 contains additional commit-level detail.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in KeycloakSecurityProcessor.beforeProcess(), the entry-point processor for KeycloakSecurityPolicy in org.apache.camel:camel-keycloak. The processor runs three checks in sequence: (1) reject requests with no Bearer token, (2) validate roles only if requiredRoles is non-empty, and (3) validate permissions only if requiredPermissions is non-empty. The entire cryptographic verification of the bearer token - JWT signature validation, issuer and expiry checks for local JWTs, or active-state and issuer validation for token introspection against Keycloak - is embedded exclusively within checks (2) and (3). Since both requiredRoles and requiredPermissions default to empty per the documented Basic Setup, neither secondary check executes, and token verification is never reached. This is a structural CWE-636 (Not Failing Securely / Fail-Open) and CWE-306 (Missing Authentication for Critical Function) pattern: the security gate silently grants access in its default state. The setting allowTokenFromHeader also defaults to true, so tokens are read from the inbound HTTP Authorization: Bearer header, making the attack surface network-reachable without any special delivery mechanism. This defect is structurally distinct from CVE-2026-23552, which added an issuer check inside the verification routine - here the verification routine is never entered at all, so that earlier fix did not address this bypass path.
Know when Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable endpoint, default config is vulnerable (AC:L), no credential needed to send a non-null Bearer string (PR:N), full access to protected route yields high C/I/A.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Blast Radius
ecosystem impact- 3 maven packages depend on org.apache.camel:camel-keycloak (2 direct, 1 indirect)
Ecosystem-wide dependent count for version 4.15.0.
Articles & Coverage 5
Executive ViewAI
A critical vulnerability in Apache Camel's Keycloak component (versions 4.15.0-4.18.2, 4.19.0-4.20.x) undermines core authentication defenses by accepting any Bearer token-whether legitimate, forged, or even a random string-as valid, enabling unauthorized API access. Systems where these routes connect to code-execution features face remote compromise risks with no authentication barrier. Organizations running affected versions require immediate action to prevent data breach and infrastructure takeover.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Configure KeycloakSecurityPolicy with non-empty requiredRoles or requiredPermissions to re-enable cryptographic token validation; (2) Deploy API gateway or WAF rules to validate Bearer token format and reject non-JWT strings; (3) Restrict network-layer access to Camel services to trusted sources only; (4) Implement monitoring for anomalous Bearer token patterns and authentication validation failures; (5) Isolate code-execution-capable routes behind network boundaries or secondary authentication controls.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0
The XSLT component in Apache Camel before 2.11.4 and 2.12.x before 2.12.3 allows remote attackers to read arbitrary file
Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri
The XSLT component in Apache Camel 2.11.x before 2.11.4, 2.12.x before 2.12.3, and possibly earlier versions allows remo
Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria
Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18
Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely
The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-se
The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arb
The camel-hessian component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-s
Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arb
EUVD-2026-41847
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB