{"id":"CVE-2026-49097","aliases":["CVE-2026-49097","GHSA-463m-2hr2-q2j7"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel IRC component.\n\nThe 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.\nThis 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.\n\nUsers 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Improper Input Validation, Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in Apache Camel IRC component.\n\nThe 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.\nThis 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.\n\nUsers 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.","source":"cvelist"},{"lang":"es","text":"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.\n\nEl 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.\nEste 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.\n\nSe 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.","source":"nvd"}],"published":"2026-07-06T08:10:26.965Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-74"],"affected":[{"ranges":[{"type":"semver","introduced":"4.0.0","fixed":"4.14.8","status":"affected"},{"type":"semver","introduced":"4.15.0","fixed":"4.18.3","status":"affected"},{"type":"semver","introduced":"4.19.0","fixed":"4.21.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Camel","package":"org.apache.camel:camel-irc","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0","status":"affected","fixed":"4.14.8"}],"ecosystem":"Maven","package":"org.apache.camel:camel-irc","purl":"pkg:maven/org.apache.camel/camel-irc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.15.0","status":"affected","fixed":"4.18.3"}],"ecosystem":"Maven","package":"org.apache.camel:camel-irc","purl":"pkg:maven/org.apache.camel/camel-irc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.19.0","status":"affected","fixed":"4.21.0"}],"ecosystem":"Maven","package":"org.apache.camel:camel-irc","purl":"pkg:maven/org.apache.camel/camel-irc","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.14.8"},{"status":"affected","introduced":"4.15.0","fixed":"4.18.3"},{"status":"affected","introduced":"4.19.0","fixed":"4.21.0"}],"vendor":"apache","product":"camel","cpe":"cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-49097.html","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/05/22","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49097","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/23594","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/23616","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/pull/23635","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/0be886bf433c718abe4a27498245f6898366fb0c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/18b64b47fda68b15f4eb9f7ce8148c8b9ec819a0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/commit/2959633a6dd51a9736a9efaedaa843548fcd2d3e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.14.8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.18.3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/apache/camel/releases/tag/camel-4.21.0","tags":["web"],"sources":["ghsa"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-23629","tags":["web"],"sources":["ghsa"]}],"credits":["Yu Bao from PayPal","Andrea Cosentino"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-06T19:02:00.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49097","url":"https://www.cve.org/CVERecord?id=CVE-2026-49097","licence":"CVE Terms of Use","modified":"2026-07-06T19:02:56.155Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-463m-2hr2-q2j7","url":"https://github.com/advisories/GHSA-463m-2hr2-q2j7","licence":"CC-BY-4.0","modified":"2026-08-28T20:40:37.468Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49097","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49097","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.213Z","epss":{"score":0.00784,"percentile":0.57241,"date":"2026-12-01T12:00:22.000Z"}}