Skip to main content

Apache Camel CVE-2026-53913

| EUVDEUVD-2026-41847 CRITICAL
Improper Authentication (CWE-287)
9.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify Camel route protected by KeycloakSecurityPolicy
  2. Delivery
    Send HTTP request with arbitrary non-null Bearer string
  3. Exploit
    Token-presence check passes (non-null header accepted)
  4. Install
    Role/permission checks skipped due to default empty configuration
  5. C2
    Cryptographic token verification never executed
  6. Execute
    Request reaches protected route as fully authenticated
  7. Impact
    Trigger 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache Camel Keycloak 4.19.0 <4.21.0
Apache Camel Keycloak 4.15.0 <4.18.3

Affected Packages

maven org.apache.camel:camel-keycloak fix: 4.18.3, 4.21.0
euvd apache_camel_keycloak fix: 4.18.3, 4.21.0

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

Vendor (CNA) PRIMARY 9.8 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 07, 2026 - 13:22 NVD
9.8 (CRITICAL)
Patch available
Jul 06, 2026 - 10:01 EUVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 maven packages depend on org.apache.camel:camel-keycloak (2 direct, 1 indirect)

Ecosystem-wide dependent count for version 4.15.0.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
enterprise Java integration framework; camel-keycloak subset narrows real-world footprint
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Camel

View all
CVE-2025-27636 MEDIUM POC
5.6 Mar 09

Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0

CVE-2014-0002 HIGH POC
7.5 Mar 21

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

CVE-2016-8749 CRITICAL POC
9.8 Mar 28

Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri

CVE-2014-0003 HIGH POC
7.5 Mar 21

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

CVE-2026-23552 CRITICAL POC
9.1 Feb 23

Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper

CVE-2026-25747 HIGH POC
8.8 Feb 23

Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria

CVE-2026-40473 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18

CVE-2019-0194 HIGH POC
7.5 Apr 30

Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely

CVE-2017-12634 CRITICAL
9.8 Nov 15

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

CVE-2015-5344 CRITICAL
9.8 Feb 03

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

CVE-2017-12633 CRITICAL
9.8 Nov 15

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

CVE-2013-4330 MEDIUM
6.8 Oct 04

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy