CVE-2025-29891: Apache Camel: Camel Message Header Injection through request parameters

Published Mar 12, 2025
·
Updated

Bypass/Injection vulnerability in Apache Camel.

This issue affects Apache Camel: from 4.10.0 before 4.10.2, from 4.8.0 before 4.8.5, from 3.10.0 before 3.22.4.

Users are recommended to upgrade to version 4.10.2 for 4.10.x LTS, 4.8.5 for 4.8.x LTS and 3.22.4 for 3.x releases.

This vulnerability is present in Camel's default incoming header filter, that allows an attacker to include Camel specific headers that for some Camel components can alter the behaviours such as the camel-bean component, or the camel-exec component.

If you have Camel applications that are directly connected to the internet via HTTP, then an attacker could include parameters in the HTTP requests that are sent to the Camel application that get translated into headers.

The headers could be both provided as request parameters for an HTTP methods invocation or as part of the payload of the HTTP methods invocation.

All the known Camel HTTP component such as camel-servlet, camel-jetty, camel-undertow, camel-platform-http, and camel-netty-http would be vulnerable out of the box.

This CVE is related to the CVE-2025-27636: while they have the same root cause and are fixed with the same fix, CVE-2025-27636 was assumed to only be exploitable if an attacker could add malicious HTTP headers, while we have now determined that it is also exploitable via HTTP parameters. Like in CVE-2025-27636, exploitation is only possible if the Camel route uses particular vulnerable components.

Other sources

Bypass/Injection vulnerability in Apache Camel.

This issue affects Apache Camel: from 4.9.0 before 4.10.2, from 4.0.0 before 4.8.5, from 3.10.0 before 3.22.4.

Users are recommended to upgrade to version 4.10.2 for 4.10.x LTS, 4.8.5 for 4.8.x LTS and 3.22.4 for 3.x releases.

This vulnerability is present in Camel's default incoming header filter, that allows an attacker to include Camel specific headers that for some Camel components can alter the behaviours such as the camel-bean component, or the camel-exec component.

If you have Camel applications that are directly connected to the internet via HTTP, then an attacker could include parameters in the HTTP requests that are sent to the Camel application that get translated into headers.

The headers could be both provided as request parameters for an HTTP methods invocation or as part of the payload of the HTTP methods invocation.

All the known Camel HTTP component such as camel-servlet, camel-jetty, camel-undertow, camel-platform-http, and camel-netty-http would be vulnerable out of the box.

This CVE is related to the CVE-2025-27636: while they have the same root cause and are fixed with the same fix, CVE-2025-27636 was assumed to only be exploitable if an attacker could add malicious HTTP headers, while we have now determined that it is also exploitable via HTTP parameters. Like in CVE-2025-27636, exploitation is only possible if the Camel route uses particular vulnerable components.

GitHub

Affected Software

7 affected componentsFixes available
Apache Camel>4.10.0, <4.10.2, >4.8.0, <4.8.5, >3.10.0, <3.22.4
maven/org.apache.camel:camel-support>=4.0.0-M1<4.8.5
4.8.5
maven/org.apache.camel:camel-support>=4.9.0<4.10.2
4.10.2
maven/org.apache.camel:camel-support>=3.10.0<3.22.4
3.22.4
Apache Camel>=3.10.0<3.22.4
Apache Camel>=4.8.0<4.8.5
Apache Camel>=4.10.0<4.10.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.camel:camel-support to a version that resolves this vulnerability.

    Fixed in 4.8.5
  2. Upgrade

    Upgrade maven/org.apache.camel:camel-support to a version that resolves this vulnerability.

    Fixed in 4.10.2
  3. Upgrade

    Upgrade maven/org.apache.camel:camel-support to a version that resolves this vulnerability.

    Fixed in 3.22.4
  4. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.10.2
  5. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.8.5
  6. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 3.22.4
  7. Compensating control

    If Camel applications are directly exposed to the internet via HTTP, reduce exposure (e.g., restrict inbound HTTP access so attackers cannot reach the Camel endpoints that could translate request parameters into headers.

Event History

Mar 12, 2025
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
Affected Software
Advisory Published
via GitHub·03:32 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-29891?

CVE-2025-29891 is classified as a bypass/injection vulnerability affecting specific versions of Apache Camel.

2

How do I fix CVE-2025-29891?

To fix CVE-2025-29891, upgrade to Apache Camel version 4.10.2, 4.8.5, or 3.22.4 depending on your current version.

3

Which versions of Apache Camel are affected by CVE-2025-29891?

CVE-2025-29891 affects Apache Camel versions from 4.10.0 before 4.10.2, 4.8.0 before 4.8.5, and 3.10.0 before 3.22.4.

4

What type of issue is CVE-2025-29891?

CVE-2025-29891 is categorized as a bypass/injection vulnerability which can lead to unauthorized actions within the application.

5

Is a patch available for CVE-2025-29891?

Yes, the patch for CVE-2025-29891 is included in the latest releases of Apache Camel as specified in the recommended version upgrades.

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