Skip to main content

Apache Camel CVE-2026-46585

| EUVDEUVD-2026-41833 HIGH
Improper Input Validation (CWE-20)
2026-07-06 apache GHSA-566h-v38h-3xp3
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Locate HTTP-exposed Lucene search route
  2. Delivery
    Send HTTP request with QUERY header
  3. Exploit
    Header bypasses HttpHeaderFilterStrategy filter
  4. Execution
    Overrides route's intended Lucene query
  5. Impact
    Exfiltrate full index or trigger regex CPU load

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires a Camel route that feeds an HTTP consumer (for example platform-http) into the camel-lucene producer and relies on the raw header names QUERY / RETURN_LUCENE_DOCS to carry the search phrase - the vulnerable data path only exists in that configuration. No credentials are needed specifically when the HTTP consumer is left unauthenticated (matching the PR:N in the CVSS vector). Limiting factors that reduce real-world risk: it is a non-default integration pattern (camel-lucene is an optional component and must be wired behind HTTP), an authenticated consumer forces the attacker to supply valid credentials first, meaningful data disclosure depends on sensitive content actually being indexed, and if the route already strips these headers or sets the query from a constant the injection cannot occur.

Impact

Signals are mixed and point to a real but conditional issue rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H, base 7.5) reflects that when the described route exists and its HTTP consumer is unauthenticated, exploitation is trivial and network-reachable with high confidentiality impact. However, EPSS is very low (0.16%, 6th percentile) and CISA SSVC records Exploitation: none, indicating no observed attacks; SSVC Technical Impact: partial and Automatable: yes suggest that where a vulnerable route is exposed, scripted abuse is straightforward. The dominant limiting factor is deployment specificity: the vulnerability only manifests in a non-default configuration (a route that pipes an HTTP consumer into the camel-lucene producer using the raw header names). The CVSS records A:N, but the description explicitly notes expensive regular-expression queries can consume significant CPU, so an availability impact is arguably understated - verify against your route's exposure. Net: prioritize patching where camel-lucene is exposed over HTTP; deprioritize where the component is unused.

Exploit ScenarioDerived

An organization runs a Camel route on platform-http that lets users search an internal document index, applying a server-side per-user filter. An attacker sends a normal HTTP request but adds the header QUERY set to a match-all expression; the header bypasses HttpHeaderFilterStrategy, replaces the route's intended query, and returns the entire index including other users' documents. Because AV:N/AC:L/PR:N and the consumer is unauthenticated, this requires only a single crafted HTTP request and no exploit tooling; no public PoC has been published.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv5 – Jul 06, 2026

Query injection and authorization bypass in the Apache Camel Lucene component (camel-lucene) lets remote unauthenticated HTTP clients override the full-text search a route intends to run. Because the raw header names QUERY and RETURN_LUCENE_DOCS lack the Camel/camel prefix, HttpHeaderFilterStrategy does not strip them at the HTTP boundary, so an attacker-supplied header flows straight into the Exchange and executes against the index - enabling disclosure of documents the requester should not see (e.g. a match-all query dumping the whole index) and CPU-heavy regex queries. Affects 4.0.0-4.14.7, 4.15.0-4.18.2, and 4.19.0-4.20.x; no public exploit identified at time of analysis, and EPSS is low (0.16%, 6th percentile).

Earlier versions of this analysis (4)
v4 Jul 06, 2026 - 21:30 cvss changed CVSS 7.5

Unauthorized full-text index disclosure in the Apache Camel Lucene component (camel-lucene) lets any HTTP client override the search query executed by a Lucene producer. Because the producer reads the search phrase from the un-prefixed Exchange headers QUERY and RETURN_LUCENE_DOCS, Camel's HttpHeaderFilterStrategy - which only blocks the Camel/camel header namespace - passes attacker-supplied values from an inbound HTTP request straight into the search, so a client can substitute a match-all query or replace the route's per-user filter to read documents it should not see and can also drive CPU-heavy regex queries. It affects Camel 4.0.0-4.14.7, 4.15.0-4.18.2 and 4.19.0-4.20.x when a Lucene query is exposed behind an unauthenticated HTTP consumer; there is no public exploit identified at time of analysis and EPSS is low (0.16%, 6th percentile).

v3 Jul 06, 2026 - 21:30 cvss changed CVSS 7.5

Information disclosure in Apache Camel's camel-lucene component (versions 4.0.0-4.14.7, 4.15.0-4.18.2, and 4.19.0-4.20.x) lets remote clients override the intended full-text search query. Because the Lucene producer reads its search phrase from the raw Exchange headers QUERY and RETURN_LUCENE_DOCS - names that lack the 'Camel'/'camel' prefix that HttpHeaderFilterStrategy filters at the HTTP boundary - any HTTP client hitting a route that exposes a Lucene operation behind an HTTP consumer can inject its own query (e.g. a match-all) to read the entire index or bypass per-user filters. There is no public exploit identified at time of analysis, EPSS is low (0.16%), and it is not on CISA KEV, but CISA SSVC flags it as automatable with partial technical impact.

v2 Jul 06, 2026 - 21:29 cvss changed CVSS 7.5

Sensitive data exposure in the Apache Camel Lucene component (camel-lucene) lets remote unauthenticated HTTP clients override the intended full-text search query when a route exposes a Lucene operation behind an HTTP consumer such as platform-http. Because the producer reads the search phrase from the un-prefixed 'QUERY' (and 'RETURN_LUCENE_DOCS') Exchange headers, HttpHeaderFilterStrategy - which only strips the Camel/camel header namespace - passes an attacker-supplied QUERY header straight into the Exchange, replacing the route's intended query (e.g. bypassing a per-user filter or issuing a match-all to dump the entire index) and enabling expensive regex queries that burn CPU. There is no public exploit identified at time of analysis and EPSS is low (0.16%), but the affected versions span Camel 4.0.0 through 4.21.0 and a vendor patch is available.

v1 Jul 06, 2026 - 09:37

Header injection in Apache Camel Lucene Component allows HTTP clients to override route-intended Lucene queries by supplying arbitrary values in the QUERY HTTP header, bypassing any per-user or per-route access controls over the full-text index. The flaw affects Camel 4.0.0 through multiple 4.x release streams and stems from the header constant QUERY not carrying the camel/Camel prefix required for HttpHeaderFilterStrategy to strip it at the HTTP boundary. Depending on what data is indexed, an attacker can retrieve the entire document index via a match-all query or cause significant CPU consumption through expensive regular-expression queries; no public exploit has been identified at time of analysis, and this CVE is not currently listed in CISA KEV.

RemediationAI

Vendor-released patches are available: upgrade to Apache Camel 4.21.0 (primary fix), or on the LTS/maintenance streams to 4.14.8 (4.14.x) or 4.18.3 (4.18.x). After upgrading, routes that previously set the search via the raw header names must switch to the now-prefixed CamelLuceneQuery (and CamelLuceneReturnLuceneDocs) headers, since the old QUERY/RETURN_LUCENE_DOCS names will no longer be honored - treat this as a required code change, not optional. For deployments that cannot upgrade immediately, strip the attacker-controllable headers before the Lucene producer and set the query from a trusted source: removeHeader('QUERY') and removeHeader('RETURN_LUCENE_DOCS'), then setHeader('QUERY', constant(...)) at the start of the route; the trade-off is that any legitimate client that relied on passing these headers will break, so confirm no intended callers depend on them. Additionally, authenticating the HTTP consumer removes the no-credential path. See the advisory at https://camel.apache.org/security/CVE-2026-46585.html.

Affected VersionsENISA

Apache Camel Lucene 4.0.0 <4.14.8
Apache Camel Lucene 4.15.0 <4.18.3
Apache Camel Lucene 4.19.0 <4.21.0

Affected Packages

maven org.apache.camel:camel-lucene fix: 4.14.8, 4.18.3, 4.21.0
euvd apache_camel_lucene 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

The affected technology is Apache Camel, a widely-used Java enterprise integration framework, specifically its optional camel-lucene component which wraps Apache Lucene full-text search. The root cause (CWE-20, Improper Input Validation, combined with Authorization Bypass Through User-Controlled Key) is a header-namespace mismatch: the Lucene producer reads its search phrase from LuceneConstants.HEADER_QUERY, whose literal value is the un-prefixed string 'QUERY' (and 'RETURN_LUCENE_DOCS' for HEADER_RETURN_LUCENE_DOCS). Camel's HttpHeaderFilterStrategy only blocks headers in the Camel/camel namespace when crossing the HTTP boundary, so these un-namespaced keys are treated as legitimate inbound application headers and are copied into the Exchange. When a route exposes a Lucene query behind an HTTP consumer such as platform-http, the user-controlled header value becomes the effective search key, overriding the query the route author configured. CPE identifies the affected product as cpe:2.3:a:apache_software_foundation:apache_camel_lucene.

Know when Apache Camel Lucene 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 7.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 8.2 HIGH

Unauthenticated HTTP header injection (AV:N/AC:L/PR:N) gives high index disclosure (C:H); added A:L reflects described CPU-heavy regex queries; no integrity impact.

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

6
Analysis Updated
Jul 06, 2026 - 21:31 vuln.today
v5 - CVSS changed
Analysis Updated
Jul 06, 2026 - 21:30 vuln.today
v4 - CVSS changed
Analysis Updated
Jul 06, 2026 - 21:30 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 06, 2026 - 21:29 vuln.today
v2 - CVSS changed
CVSS changed
Jul 06, 2026 - 20:22 NVD
7.5 (HIGH)
Patch available
Jul 06, 2026 - 10:01 EUVD

DescriptionCVE.org

Improper Input Validation, Authorization Bypass Through User-Controlled Key vulnerability in Apache Camel Lucene Component.

The camel-lucene producer reads the search phrase from an Exchange header (LuceneConstants.HEADER_QUERY) whose value was the plain string QUERY (and RETURN_LUCENE_DOCS for HEADER_RETURN_LUCENE_DOCS). Because these names do not start with the Camel / camel prefix, HttpHeaderFilterStrategy - which blocks only the Camel header namespace on the HTTP boundary - let them pass from an inbound HTTP request straight into the Exchange. In a route that exposes a Lucene query operation behind an HTTP consumer (for example platform-http), any HTTP client could therefore set the QUERY header and have its value executed against the full-text index, overriding the query the route intended to run. Depending on what is indexed, this allows reading documents the request should not have access to (for example a match-all query returns the entire index, or the route's intended per-user filter can be replaced), and expensive regular-expression queries can consume significant CPU. No credentials are required when the HTTP consumer is unauthenticated. This issue affects Apache Camel: from 4.0.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. After upgrading, routes that set the query via the raw header name must use CamelLuceneQuery (and CamelLuceneReturnLuceneDocs) instead of QUERY / RETURN_LUCENE_DOCS. For deployments that cannot upgrade immediately, strip the attacker-controllable headers before the Lucene producer and set the query from a trusted source (for example removeHeader('QUERY') and removeHeader('RETURN_LUCENE_DOCS'), then setHeader('QUERY', constant(...)) at the start of the route).

Executive ViewAI

Why It Matters

Apache Camel Lucene component (versions 4.0.0-4.20.x) allows unauthenticated remote attackers to bypass authorization controls and access unauthorized documents through header injection, creating data exposure and denial-of-service risks. Organizations using camel-lucene for enterprise search and indexing should prioritize patching to prevent unauthorized data disclosure.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching is delayed, implement network segmentation to restrict HTTP access to Lucene endpoints and log all requests containing QUERY or RETURN_LUCENE_DOCS headers for forensic analysis.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
Apache Camel is widely deployed, but the Lucene component is an optional, less-common add-on
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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

Priority Score

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

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