Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 89%

CVE-2026-49086: CWE-20 Improper Input Validation in Apache Software Foundation Apache Camel Dapr

0
Medium
VulnerabilityCVE-2026-49086cvecve-2026-49086cwe-20cwe-441
Published: 07/06/2026 (07/06/2026, 08:10:06 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel Dapr

Description

Improper Input Validation, Unintended Proxy or Intermediary ('Confused Deputy') vulnerability in Apache Camel DAPR component. The camel-dapr Dapr Pub/Sub consumer (DaprPubSubConsumer) copied two fields from each inbound CloudEvent - its Pub/Sub component name and its topic - into the CamelDaprPubSubName and CamelDaprTopic Exchange headers. These two headers are producer-direction routing headers: when the route republishes through a Dapr producer, DaprConfigurationOptionsProxy reads them back and prefers them over the destination configured on the endpoint. As a result, in a route that consumes from one Dapr Pub/Sub topic and republishes to another (for example from('dapr-pubsub:p:t').to('dapr-pubsub:p:other')), an actor able to publish a message to the subscribed topic could set the CloudEvent's pub/sub-name and topic to values of their choosing and cause the re-published message to be delivered to an arbitrary Dapr Pub/Sub component and topic instead of the configured destination - redirecting or exfiltrating the message and bypassing the route's intended routing and any topic-level access controls in the underlying broker. Exploitation requires the ability to publish to the topic the route subscribes to; no other authentication or user interaction is needed. This issue affects Apache Camel: from 4.12.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. For deployments that cannot upgrade immediately, remove the CamelDaprPubSubName and CamelDaprTopic headers from the Exchange between the Dapr consumer and any Dapr producer in the route (for example removeHeaders('CamelDaprPubSubName', 'CamelDaprTopic')), and restrict who can publish to the subscribed Dapr Pub/Sub topic so that only trusted producers can send to it.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

Apache Software Foundation/org.apache.camel:camel-dapr
pkg:maven/Apache Software Foundation/org.apache.camel:camel-dapr
Affected versions
>=4.12.0 <4.14.8>=4.15.0 <4.18.3>=4.19.0 <4.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 09:07:40 UTC

Technical Analysis

The Apache Camel Dapr component's DaprPubSubConsumer copies the pub/sub component name and topic from inbound CloudEvents into producer-direction routing headers (CamelDaprPubSubName and CamelDaprTopic). When a route republishes messages, these headers override the configured destination, allowing an attacker who can publish to the subscribed topic to redirect messages to arbitrary destinations. This constitutes an unintended proxy or 'confused deputy' vulnerability due to improper input validation. The issue affects Apache Camel versions from 4.12.0 up to but not including 4.14.8, from 4.15.0 up to but not including 4.18.3, and from 4.19.0 up to but not including 4.21.0. The vendor recommends upgrading to 4.21.0 or the respective fixed LTS versions 4.14.8 or 4.18.3. For those unable to upgrade immediately, removing the problematic headers and restricting publish permissions to trusted producers mitigates the risk.

Potential Impact

An attacker with the ability to publish to the subscribed Dapr Pub/Sub topic can manipulate message routing headers to redirect or exfiltrate messages to arbitrary Dapr Pub/Sub components and topics. This bypasses the intended routing logic and any topic-level access controls enforced by the underlying broker. No additional authentication or user interaction is required beyond the ability to publish to the subscribed topic.

Mitigation Recommendations

A fix is available in Apache Camel versions 4.14.8, 4.18.3, and 4.21.0. Users should upgrade to one of these versions to remediate the vulnerability. If immediate upgrade is not possible, users should remove the CamelDaprPubSubName and CamelDaprTopic headers from the Exchange between the Dapr consumer and any Dapr producer in the route (e.g., using removeHeaders('CamelDaprPubSubName', 'CamelDaprTopic')). Additionally, restrict publishing permissions on the subscribed Dapr Pub/Sub topic to trusted producers only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-05-27T11:04:35.426Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4b6cae27e9c7971925237f

Added to database: 07/06/2026, 08:51:58 UTC

Last enriched: 07/06/2026, 09:07:40 UTC

Last updated: 07/06/2026, 23:07:41 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses