CVE-2026-49097: Apache Camel: Camel-IRC: The irc.sendTo (and other irc.*) Exchange header constants used non-Camel-prefixed names that bypass the HTTP header filter, allowing an HTTP client to redirect outgoing IRC messages to arbitrary channels or users

Published Jul 5, 2026
·
Updated

Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel IRC component.

The camel-irc producer chooses the destination of an outgoing IRC message from the irc.sendTo Exchange header (the constant IrcConstants.IRCSENDTO, value irc.sendTo); when that header is present it overrides the channel list configured on the endpoint, and the message is sent only to the specified destination. This and the component's other control headers (irc.target, irc.messageType, irc.user., irc.num, irc.value) used plain, non-Camel-prefixed values. 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 bridges an HTTP consumer (for example platform-http) into an irc: producer, any HTTP client could therefore set the irc.sendTo header and redirect a message that the route intended for a configured channel to an arbitrary IRC channel or user - exfiltrating the message content to an attacker-chosen nickname, leaking it into a public channel, or delivering messages that appear to come from the bot. No credentials are required when the bridging 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 IRC headers via the raw header names must use the CamelIrc names (for example CamelIrcSendTo) instead of the old irc. values. For deployments that cannot upgrade immediately, strip the irc. headers from any untrusted ingress before the irc: producer (for example removeHeaders('irc.') at the start of the route), and set the IRC destination from a trusted source.

Affected Software

4 affected components
Apache Camel-IRC>4.0.0<4.14.8, >4.15.0<4.18.3, >4.19.0<4.21.0
Apache Camel>=4.0.0<4.14.8
Apache Camel>=4.15.0<4.18.3
Apache Camel>=4.19.0<4.21.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Camel (Camel-IRC) to a version that resolves this vulnerability.

    Fixed in 4.14.8
  2. Upgrade

    Upgrade Apache Camel (Camel-IRC) to a version that resolves this vulnerability.

    Fixed in 4.18.3
  3. Upgrade

    Upgrade Apache Camel (Camel-IRC) to a version that resolves this vulnerability.

    Fixed in 4.21.0Patch CVE-2026-49097
  4. Configuration

    For deployments that cannot upgrade immediately, strip any untrusted ingress headers matching the raw names from the incoming HTTP request before the irc: producer (example: removeHeaders('irc.*') at the start of the route), and set the IRC destination from a trusted source.

    Apache Camel routes (bridging HTTP consumer to camel-irc producer) Remove/strip IRC exchange headers with raw names = Use removeHeaders('irc.*') at the start of the route (before the irc: producer)
  5. Configuration

    After upgrading, routes that set IRC headers via raw header names must use the CamelIrc* names (e.g., CamelIrcSendTo) instead of old irc.* exchange header constants, because non-Camel-prefixed irc.* values bypass the HTTP header filter and can override the configured destination.

    Apache Camel Camel-IRC routes IRC header names (Exchange headers) = Use CamelIrc* names (e.g., CamelIrcSendTo) instead of irc.* raw names

Event History

Jul 6, 2026
CVE Published
via MITRE·08:10 AM
Data Sourced
via MITRE·08:10 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-49097?

The severity of CVE-2026-49097 is rated medium with a score of 6.5 according to the CVSS 3.1 metrics.

2

What components are affected by CVE-2026-49097?

CVE-2026-49097 affects the Apache Camel IRC component, specifically the irc.sendTo Exchange header.

3

How do I fix CVE-2026-49097?

To fix CVE-2026-49097, ensure that proper validation is applied to the irc.sendTo header to prevent improper input.

4

What is the nature of the vulnerability described in CVE-2026-49097?

CVE-2026-49097 is an Improper Input Validation vulnerability that allows an HTTP client to redirect IRC messages to arbitrary destinations.

5

How does CVE-2026-49097 impact security?

CVE-2026-49097 can have significant security implications by allowing unauthorized users to send IRC messages to any channel or user, potentially leading to data leakage or misuse.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203