Skip to main content

Apache Camel EUVDEUVD-2026-41827

| CVE-2026-46453 MEDIUM
Improper Input Validation (CWE-20)
2026-07-06 apache GHSA-rp9m-hfv5-pfvr
5.3
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Identify Camel HTTP endpoint with ES producer
  2. Delivery
    Craft HTTP request with malicious operation headers
  3. Exploit
    Headers bypass HttpHeaderFilterStrategy filter
  4. Execution
    elasticsearch-rest-client reads attacker-controlled headers
  5. Persist
    Unauthorized Elasticsearch operation executes
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

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

Apache Camel 4.15.0 <4.18.3
Apache Camel 4.3.0 <4.14.8
Apache Camel 4.19.0 <4.21.0

Affected Packages

maven org.apache.camel:camel-elasticsearch-rest-client fix: 4.14.8, 4.18.3, 4.21.0
euvd apache_camel fix: 4.14.8, 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

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

Vendor (apache) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 10.0 CRITICAL

Network-reachable HTTP endpoint, no credentials required per description, scope changes to Elasticsearch backend; deletion capability adds low availability impact.

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

2
CVSS changed
Jul 06, 2026 - 19:22 NVD
5.3 (MEDIUM)
Patch available
Jul 06, 2026 - 10:01 EUVD

DescriptionCVE.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.

Blast Radius

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

Ecosystem-wide dependent count for version 4.3.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
High
widely-deployed Java enterprise integration framework across industries
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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.

CVE-2026-33453 CRITICAL POC
10.0 Apr 27

Remote 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)

CVE-2026-40858 HIGH POC
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-infinispan component allows arbitrary code execution when the ProtoS

CVE-2026-78162 CRITICAL
10.0 Oct 19

Unauthenticated remote code execution affects the camel-hazelcast component of Apache Camel 4.0.0 through 4.18.4 and 4.1

CVE-2026-71300 CRITICAL
9.8 Aug 24

Header-injection in the Apache Camel camel-atmosphere-websocket producer lets an external sender hijack WebSocket messag

CVE-2026-78329 CRITICAL
9.8 Aug 24

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

CVE-2026-47323 CRITICAL
9.8 May 19

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

CVE-2026-33454 CRITICAL
9.4 Apr 27

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

CVE-2026-79986 CRITICAL
9.1 Oct 19

Path traversal in Apache Camel's remote-file consumers (including the azure-files component) lets a directory-listing en

CVE-2026-79983 CRITICAL
9.1 Oct 19

Apache Camel's ftp, ftps and sftp remote-file consumers build each file's remote path by concatenating the polled direct

CVE-2026-88900 HIGH
8.8 Oct 19

Unauthenticated deserialization of attacker-controlled messages in Apache Camel's camel-jgroups consumer can lead to rem

CVE-2026-46590 HIGH
8.8 Jul 06

Remote code execution via unsafe Java deserialization affects the camel-pqc component of Apache Camel 4.18.0-4.18.2 and

CVE-2026-27172 HIGH
8.8 Apr 27

Unsafe Java deserialization in Apache Camel's camel-consul component (ConsulRegistry / ConsulRegistryUtils.deserialize)

Vendor StatusVendor

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