Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Camel HTTP endpoint with ES producer
-
DeliveryCraft HTTP request with malicious operation headers
-
ExploitHeaders bypass HttpHeaderFilterStrategy filter
-
Executionelasticsearch-rest-client reads attacker-controlled headers
-
PersistUnauthorized Elasticsearch operation executes
-
ImpactExfiltrate data or delete documents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that the targeted Apache Camel deployment (versions 4.3.0-4.14.7, 4.15.0-4.18.2, or 4.19.0-4.20.x) uses the camel-elasticsearch-rest-client component AND exposes an HTTP-based consumer (e.g., platform-http, servlet, jetty) in the same route chain ahead of the elasticsearch-rest-client producer. The HTTP consumer must be reachable by the attacker - whether over the public internet or an internal network. No authentication credentials are required on the Camel side (the component reads headers unconditionally). The exploit does not depend on any non-default Camel configuration; the vulnerability exists in the default component behavior. What limits exploitation: routes that use non-HTTP consumers (e.g., file, timer, JMS) are not affected because those transports do not carry attacker-controlled HTTP headers. Routes that have already implemented custom HeaderFilterStrategy logic or explicit removeHeader steps are also protected. Elasticsearch-side authentication or authorization (e.g., TLS mutual auth, Elasticsearch security features) would limit what operations the attacker can ultimately perform against the backend, but is independent of the Camel-layer bypass. |
| Impact | No vendor-supplied CVSS vector is available for this CVE; risk must be assessed from the description and exploitation conditions. The attack vector is unambiguously network-based, requires zero authentication on the Camel side, and involves no user interaction - the attacker simply includes crafted HTTP headers in a request to any exposed Camel HTTP endpoint. Attack complexity is low because the exploit technique is fully documented in the advisory itself (specific header names, example operations). Real-world impact is high: unrestricted read access to all indexed documents, the ability to delete arbitrary documents by ID, and selective field exfiltration. EPSS data is not available; the CVE is not currently in CISA KEV, meaning active exploitation is not confirmed. However, the trivial exploit mechanism (no tooling required, no brute force, no timing dependency) means exploitation probability is functionally high for any organization with an exposed route matching the configuration. The principal risk limiter is deployment topology: only routes that expose an HTTP entry point in front of elasticsearch-rest-client are affected. Internal-only deployments or routes using non-HTTP consumers are not impacted. This is a genuine priority for any Apache Camel deployment fitting the affected pattern. |
| Exploit ScenarioDerived | An attacker identifies a publicly or internally exposed HTTP endpoint served by a Camel route that proxies requests to an Elasticsearch cluster via camel-elasticsearch-rest-client. The attacker sends a plain HTTP request to that endpoint with an added 'SEARCH_QUERY' header containing a match_all JSON body and an 'OPERATION' header set to 'Search'; because these header names pass through HttpHeaderFilterStrategy unchanged, the producer substitutes the attacker's query for whatever the route author configured and returns all indexed documents. In a follow-up request, the attacker sets 'OPERATION' to 'Delete' and 'ID' to a targeted document identifier, permanently removing it. No credentials, no exploit tooling, and no vulnerability scanning beyond identifying the endpoint are required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Authorization bypass in Apache Camel's camel-elasticsearch-rest-client component allows unauthenticated remote attackers to override Elasticsearch query operations by injecting HTTP headers. Because the component uses unprefixed header constants ('SEARCH_QUERY', 'OPERATION', 'INDEX_NAME', 'INDEX_SETTINGS', 'ID') that are not blocked by Camel's inbound HttpHeaderFilterStrategy - which filters only 'Camel'-prefixed names - any HTTP client reaching a Camel route that fronts an elasticsearch-rest-client producer can substitute their own query body, operation type, or target index. Practical outcomes include full index enumeration via match_all, targeted document deletion, and field-level data exfiltration. No public exploit has been identified at time of analysis and this CVE is not listed in CISA KEV, but the attack requires no credentials and is trivially reproducible from the description alone.
RemediationAI
Upgrade Apache Camel to one of the following patched releases: 4.21.0 (main stream), 4.14.8 (4.14.x LTS stream), or 4.18.3 (4.18.x stream). The fix renames the ElasticSearch header constant string values to carry the 'CamelElasticsearch' prefix (e.g., CamelElasticsearchSearchQuery, CamelElasticsearchOperation, CamelElasticsearchId, CamelElasticsearchIndexName, CamelElasticsearchIndexSettings), which causes HttpHeaderFilterStrategy to block them at the inbound boundary. Note: the Java field names in ElasticSearchRestClientConstant are unchanged, so application code referencing the field constants does not require modification - only deployments using raw string header names will need updates. For deployments that cannot upgrade immediately, apply explicit header removal in the Camel route before the elasticsearch-rest-client endpoint using removeHeader('SEARCH_QUERY'), removeHeader('OPERATION'), removeHeader('INDEX_NAME'), removeHeader('INDEX_SETTINGS'), and removeHeader('ID'). Alternatively, implement a custom HeaderFilterStrategy that explicitly blocks these names. The header-stripping workaround is effective but requires remembering to maintain the blocklist if new header constants are added in future component versions - prefer upgrading. The vendor advisory is at https://camel.apache.org/security/CVE-2026-46453.html.
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
Apache Camel (CPE: cpe:2.3:a:apache_software_foundation:apache_camel) is a Java-based enterprise integration framework implementing the Enterprise Integration Patterns. Its camel-elasticsearch-rest-client component acts as an Elasticsearch HTTP REST API producer, driven by Exchange message headers that parameterize queries and operations. The root cause (CWE-20: Improper Input Validation) manifests as a naming convention inconsistency: ElasticSearchRestClientConstant defines header names as bare strings ('SEARCH_QUERY', 'OPERATION', etc.) rather than the 'Camel'-prefixed convention used universally elsewhere in the framework. Camel's HttpHeaderFilterStrategy - which enforces the security boundary between untrusted inbound HTTP headers and internal route processing - applies a prefix-based blocklist ('Camel' and 'camel'). Since the Elasticsearch header names lack this prefix, they are passed through unmodified into the Exchange, where the producer unconditionally reads and acts on them. A secondary CWE-639 (Authorization Bypass Through User-Controlled Key) characterizes the semantic outcome: the attacker controls which operation and data targets are sent to Elasticsearch by supplying their own key values in the Exchange headers.
Know when Apache 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:L/I:N/A:N
Network-reachable HTTP endpoint, no credentials required per description, scope changes to Elasticsearch backend; deletion capability adds low availability impact.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Improper Input Validation, Authorization Bypass Through User-Controlled Key vulnerability in Apache Camel ElasticSearch Rest Client.
The camel-elasticsearch-rest-client component reads several Exchange headers to control its behaviour - SEARCH_QUERY (an advanced query body), OPERATION (which Elasticsearch operation to run), INDEX_NAME, INDEX_SETTINGS and ID. The string values of these header constants, defined in ElasticSearchRestClientConstant, are plain unprefixed names ('SEARCH_QUERY', 'OPERATION', 'INDEX_NAME', 'INDEX_SETTINGS', 'ID') rather than the 'Camel'-prefixed names used by every other Camel component (for example CamelSqlQuery, CamelMongoDbCriteria, CamelCqlQuery). Camel's inbound HTTP header filter, HttpHeaderFilterStrategy, blocks only header names that begin with 'Camel' or 'camel'. Because the Elasticsearch header names do not carry that prefix, they pass through the inbound filter unchanged. When a Camel route exposes an HTTP entry point (for example platform-http) in front of an elasticsearch-rest-client producer, an untrusted HTTP client can set these headers directly on its request and override the query and operation that the route author configured: reading every document in the index (SEARCH_QUERY with a match_all query), deleting documents (OPERATION set to Delete together with ID), or exfiltrating selected fields. No credentials are required and the producer reads the headers unconditionally. This issue affects Apache Camel: from 4.3.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0.
Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix renames the camel-elasticsearch-rest-client Exchange header constant string values (ID, SEARCH_QUERY, INDEX_SETTINGS, INDEX_NAME, OPERATION) to carry the Camel prefix (CamelElasticsearchId, CamelElasticsearchSearchQuery, CamelElasticsearchIndexSettings, CamelElasticsearchIndexName, CamelElasticsearchOperation) so that they are blocked by the inbound HttpHeaderFilterStrategy; the Java field names are unchanged. For deployments that cannot upgrade immediately, strip the affected headers from untrusted inbound messages before they reach the producer (for example removeHeader('SEARCH_QUERY'), removeHeader('OPERATION'), removeHeader('INDEX_NAME'), removeHeader('INDEX_SETTINGS') and removeHeader('ID') in front of the elasticsearch-rest-client endpoint), or apply a custom HeaderFilterStrategy that blocks these names.
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.
More in Apache Camel
View allRemote code execution in Apache Camel's camel-coap component (versions 4.14.0-4.14.5, 4.18.0 before 4.18.1, and 4.19.0)
Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS
Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1
Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag
Header-filter bypass in the Apache Camel Undertow component (4.11.0-4.14.8, 4.15.0-4.18.3, and 4.19.0-4.21.x) lets remot
Remote code execution in Apache Camel 3.18.0-4.14.5 and 4.15.0-4.18.1 stems from CXF and Knative HeaderFilterStrategy im
Message header injection in Apache Camel's camel-mail component (3.0.0 before 4.14.6 and 4.15.0 before 4.18.1) lets an a
Path traversal in Apache Camel's remote-file consumers (including the azure-files component) lets a directory-listing en
Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct
Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem
Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and
Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)
EUVD-2026-41827
GHSA-rp9m-hfv5-pfvr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB