CVE-2026-49097
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.78% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-463m-2hr2-q2j7

Description

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.IRC_SEND_TO, 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

Product or packageVersionsReported by
org.apache.camel:camel-ircfrom 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0CVE List
org.apache.camel:camel-irc (Maven)from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0GitHub Advisory Database
apache camelfrom 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0NVD

All scores

CISA-ADP6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-20CWE-74

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.IRC_SEND_TO, 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.

NVD (es)

Validación de entrada incorrecta, Neutralización incorrecta de elementos especiales en la salida utilizada por un componente descendente (’Inyección’) vulnerabilidad en el componente IRC de Apache Camel. El productor camel-irc elige el destino de un mensaje IRC saliente del encabezado de intercambio irc.sendTo (la constante IrcConstants.IRC_SEND_TO, valor irc.sendTo); cuando ese encabezado está presente, anula la lista de canales configurada en el punto final, y el mensaje se envía solo al destino especificado. Este y los otros encabezados de control del componente (irc.target, irc.messageType, irc.user.*, irc.num, irc.value) usaban valores simples, sin prefijo Camel. Debido a que estos nombres no comienzan con el prefijo Camel / camel, HttpHeaderFilterStrategy - que bloquea solo el espacio de nombres del encabezado Camel en el límite HTTP - los dejó pasar de una solicitud HTTP entrante directamente al Intercambio. En una ruta que conecta un consumidor HTTP (por ejemplo, platform-http) a un productor irc:, cualquier cliente HTTP podría, por lo tanto, establecer el encabezado irc.sendTo y redirigir un mensaje que la ruta pretendía para un canal configurado a un canal o usuario IRC arbitrario - exfiltrando el contenido del mensaje a un apodo elegido por el atacante, filtrándolo a un canal público, o entregando mensajes que parecen provenir del bot. No se requieren credenciales cuando el consumidor de puente no está autenticado. Este problema afecta a Apache Camel: desde 4.0.0 antes de 4.14.8, desde 4.15.0 antes de 4.18.3, desde 4.19.0 antes de 4.21.0. Se recomienda a los usuarios actualizar a la versión 4.21.0, que corrige el problema. Si los usuarios están en la rama de lanzamientos LTS 4.14.x, entonces se sugiere que actualicen a 4.14.8. Si los usuarios están en la rama de lanzamientos 4.18.x, entonces se sugiere que actualicen a 4.18.3. Después de actualizar, las rutas que establecen encabezados IRC a través de los nombres de encabezado sin procesar deben usar los nombres CamelIrc (por ejemplo, CamelIrcSendTo) en lugar de los antiguos valores irc.*. Para implementaciones que no pueden actualizar inmediatamente, elimine los encabezados irc.* de cualquier entrada no confiable antes del productor irc: (por ejemplo, removeHeaders(’irc.*’) al inicio de la ruta), y establezca el destino IRC desde una fuente confiable.

References

https://camel.apache.org/security/CVE-2026-49097.htmlmitigation, vendor-advisory, web
http://www.openwall.com/lists/oss-security/2026/07/05/22mailing-list, third-party-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2026-49097advisory
https://github.com/apache/camel/pull/23594web
https://github.com/apache/camel/pull/23616web
https://github.com/apache/camel/pull/23635web
https://github.com/apache/camel/commit/0be886bf433c718abe4a27498245f6898366fb0cweb
https://github.com/apache/camel/commit/18b64b47fda68b15f4eb9f7ce8148c8b9ec819a0web
https://github.com/apache/camel/commit/2959633a6dd51a9736a9efaedaa843548fcd2d3eweb
https://github.com/apache/camelpackage
https://github.com/apache/camel/releases/tag/camel-4.14.8web
https://github.com/apache/camel/releases/tag/camel-4.18.3web

Sources

SourceRecordLicence
CVE ListCVE-2026-49097 changed 2026-07-06CVE Terms of Use
GitHub Advisory DatabaseGHSA-463m-2hr2-q2j7 changed 2026-08-28CC-BY-4.0
NVDCVE-2026-49097 changed 2026-10-25Public domain