Skip to main content

Apache Camel EUVDEUVD-2026-41831

| CVE-2026-46457 HIGH
Improper Input Validation (CWE-20)
2026-07-06 apache GHSA-7v55-q9x3-83cj
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Reach unauthenticated NATS subject
  2. Delivery
    Publish message with forged Camel* header
  3. Exploit
    Consumer copies header into Exchange
  4. Execution
    Header propagates across route hops
  5. Persist
    Downstream producer honors injected control header
  6. Impact
    HTTP/file/SQL action redirected or overridden

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 the target to run the camel-nats component consuming from a NATS 2.2-or-later server (message-header support), and the attacker must be able to publish to the specific consumed NATS subject - reachable without credentials only when the NATS server is configured without authentication (the NATS default). Concrete impact further requires the Camel route to contain a downstream producer whose behaviour is header-driven (e.g. HTTP, file, or SQL producers reading CamelHttpUri, CamelFileName, or CamelSqlQuery). Limiting factors: NATS authentication being enabled removes unauthenticated access; a route with no header-sensitive downstream producer yields little to no real impact; and pre-2.2 NATS servers lack the message-header feature the attack abuses.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, base 7.5) reflects a pure integrity impact: no confidentiality or availability loss, but high integrity impact via header override, reachable over the network with low complexity and no authentication. That PR:N is only realistic in the common default deployment where the NATS server has authentication disabled and the attacker can publish to the consumed subject; with NATS auth enabled the practical privilege requirement rises. EPSS is low (0.19%, 9th percentile) and CISA SSVC records Exploitation: none, Technical Impact: partial, Automatable: yes - consistent with a real but not-yet-exploited weakness whose concrete impact is conditional on the route's downstream producers. The signals are coherent rather than conflicting: the high nominal CVSS is tempered by the fact that damage depends entirely on which producers exist after the NATS consumer (a route with no HTTP/file/SQL producer downstream may be practically unaffected). Treat this as a targeted, deployment-dependent integrity risk rather than a wormable critical.

Exploit ScenarioDerived

An attacker who can reach an unauthenticated NATS server publishes a message to a subject consumed by a Camel route, attaching a header such as CamelHttpUri=http://attacker/collect (or CamelFileName / CamelSqlQuery). Camel copies the header onto the Exchange, and when the message reaches a downstream HTTP, file, or SQL producer the injected value redirects the request, rewrites the output file path, or overrides the query. No exploit code is currently public, but the low attack complexity and network vector make a hand-crafted publish trivial once a vulnerable route is identified.

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

Header injection in the Apache Camel camel-nats component (4.0.0-4.14.7, 4.15.0-4.18.2, 4.19.0-4.20.x) allows any NATS client that can publish to a consumed subject to inject arbitrary Camel-internal control headers into the Exchange because the consumer's default DefaultHeaderFilterStrategy has no inbound filter rules. An attacker can override headers such as CamelHttpUri, CamelFileName, or CamelSqlQuery to redirect HTTP producers, rename files, or alter queries in downstream route steps. No public exploit identified at time of analysis; EPSS is low (0.19%, 9th percentile) and CISA SSVC lists exploitation as none, but the flaw is remotely reachable without credentials when the NATS server runs with its default (no-auth) configuration.

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

Camel control-header injection in the Apache Camel camel-nats component allows a client that can publish to a consumed NATS subject to inject arbitrary Camel* control headers into the Exchange, hijacking the behaviour of downstream producers in the route (redirecting an HTTP producer, renaming a file, or overriding a SQL query). It affects Apache Camel 4.0.0 before 4.14.8, 4.15.0 before 4.18.3, and 4.19.0 before 4.21.0, and is reachable without credentials when the NATS server runs without authentication (the NATS default). No public exploit identified at time of analysis; EPSS is low (0.19%, 9th percentile) and it is not in CISA KEV.

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

Header injection in the Apache Camel camel-nats component (versions 4.0.0-4.14.7, 4.15.0-4.18.2, and 4.19.0-4.20.x) lets any client that can publish to a consumed NATS subject inject arbitrary Camel-internal control headers (e.g. CamelHttpUri, CamelFileName, CamelSqlQuery) into the Exchange, hijacking the behaviour of downstream producers in the route. The flaw stems from camel-nats defaulting to an unconfigured DefaultHeaderFilterStrategy that filters nothing on inbound mapping, and is reachable without credentials against the default (no-auth) NATS server configuration. No public exploit identified at time of analysis; EPSS is low (0.19%) and it is not on CISA KEV, but SSVC rates it automatable with partial technical impact.

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

Header injection in the Apache Camel camel-nats component (4.0.0 before 4.14.8, 4.15.0 before 4.18.3, and 4.19.0 before 4.21.0) lets any client that can publish to a consumed NATS subject inject arbitrary Camel-internal control headers into the Exchange, tampering with downstream producer behaviour such as HTTP target, file name, or SQL query. The flaw stems from an unconfigured DefaultHeaderFilterStrategy that copies every inbound NATS header verbatim, and is reachable unauthenticated against a default (auth-disabled) NATS 2.2+ server. There is no public exploit identified at time of analysis and EPSS is low (0.19%, 9th percentile), but SSVC rates it automatable with partial technical impact.

v1 Jul 06, 2026 - 09:34

Header injection in Apache Camel's NATS consumer component (camel-nats) allows any publisher to a consumed NATS subject to inject arbitrary Camel internal control headers - including CamelHttpUri, CamelFileName, and CamelSqlQuery - into the Camel Exchange, redirecting or manipulating downstream producers across the entire route. Affected across three release streams (4.0.0-4.14.7, 4.15.0-4.18.2, 4.19.0-4.20.x), with the highest risk against default NATS deployments that ship without authentication. No public exploit has been identified at time of analysis, though the attack mechanic is straightforward and requires no credentials in default NATS configurations.

RemediationAI

Vendor-released patch: upgrade to Apache Camel 4.21.0 on the main stream; 4.14.x LTS users should move to 4.14.8, and 4.18.x users to 4.18.3, per https://camel.apache.org/security/CVE-2026-46457.html. The fix makes camel-nats default to a dedicated NatsHeaderFilterStrategy that filters the Camel* / camel* namespace case-insensitively on inbound mapping so client-supplied control headers are no longer copied into the Exchange. If you cannot upgrade immediately, strip Camel control headers at the very start of any NATS-consuming route with removeHeaders('Camel*') and removeHeaders('camel*') before any downstream producer runs (note this also drops any legitimately intended Camel* headers arriving on that source, so verify no route logic depends on them), and enable authentication on the NATS server so only trusted clients can publish to the consumed subject, which raises the effective privilege bar at the cost of provisioning credentials for publishers.

Affected VersionsENISA

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

Affected Packages

maven org.apache.camel:camel-nats 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 is a widely used Java integration framework built around Enterprise Integration Patterns, where messages traverse a 'route' of components and their headers steer producer behaviour. The camel-nats component bridges NATS (a high-throughput pub/sub messaging system whose message-header support requires NATS 2.2+) into Camel. NatsConfiguration initialized headerFilterStrategy to a bare new DefaultHeaderFilterStrategy() without setting inFilter, inFilterPattern, or inFilterStartsWith, so applyFilterToExternalHeaders returns 'not filtered' for every inbound header. NatsConsumer therefore copies all NATS message headers verbatim onto the Camel message, including the reserved Camel* control-header namespace that other components read to make routing/IO decisions. This is a textbook CWE-20 Improper Input Validation issue: externally controlled data (NATS headers) is trusted as internal control metadata. Because Camel propagates headers across in-memory direct, seda, and vm hops, the injected headers persist deep into the route. The single affected CPE is cpe:2.3:a:apache_software_foundation:apache_camel.

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

Network-reachable with no auth against the default unauthenticated NATS server (AV:N/PR:N/AC:L); impact is header override affecting integrity only (I:H, C:N/A:N).

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

6
Analysis Updated
Jul 06, 2026 - 21:33 vuln.today
v5 - CVSS changed
Analysis Updated
Jul 06, 2026 - 21:32 vuln.today
v4 - CVSS changed
Analysis Updated
Jul 06, 2026 - 21:32 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 06, 2026 - 21:31 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 vulnerability in Apache Camel NATS component.

The camel-nats component maps inbound NATS message headers into the Camel Exchange but defaulted its headerFilterStrategy to a bare new DefaultHeaderFilterStrategy() with no inbound rules configured (NatsConfiguration). With no inFilter, inFilterPattern or inFilterStartsWith set, DefaultHeaderFilterStrategy.applyFilterToExternalHeaders returns not filtered for every header name, so NatsConsumer copies every NATS message header - including Camel-internal control headers such as CamelHttpUri, CamelFileName or CamelSqlQuery - unmodified onto the Camel message. A client able to publish to the consumed NATS subject can therefore inject arbitrary Camel control headers that influence the behaviour of downstream producers in the route (for example redirecting an HTTP producer, changing a file name, or overriding a query); the injected headers also persist across internal direct, seda and vm hops. The concrete downstream impact depends on which producers the route uses. NATS message headers require NATS 2.2 or later, and the issue is reachable without credentials when the NATS server is configured without authentication (the NATS server default). 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. The fix makes camel-nats default to a dedicated NatsHeaderFilterStrategy that filters the Camel header namespace case-insensitively on inbound mapping, so client-supplied Camel* / camel* headers are no longer copied into the Exchange. For deployments that cannot upgrade immediately, strip the Camel control headers from inbound NATS messages before they reach any downstream producer (for example removeHeaders('Camel*') and removeHeaders('camel*') at the start of the route), and enable authentication on the NATS server so that only trusted clients can publish to the consumed subject.

Blast Radius

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

Ecosystem-wide dependent count for version 4.0.0.

Executive ViewAI

Why It Matters

Apache Camel's NATS component (versions 4.0.0-4.20.x) allows unauthenticated remote attackers to inject malicious headers into message exchanges, enabling manipulation of downstream operations-including HTTP request redirection, file renaming, and SQL query modification. Exploitation requires the targeted NATS broker to use default (no-auth) configuration. No public exploit identified at time of analysis; however, any organization running this component with NATS messaging faces risk of supply-chain attacks through message tampering.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely used Java integration framework, though NATS component is optional
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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 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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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