← Security advisories
Apache Camel security advisory

CVE-2025-30177

Camel-Undertow Message Header Injection via Improper Filtering

Description

Camel undertow component is vulnerable to Camel message header injection, in particular the custom header filter strategy used by the component only filter the 'out' direction, while it doesn't filter the 'in' direction.This 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.

Mitigation

Users are recommended to upgrade to version 4.10.3 for 4.10.x LTS and 4.8.6 for 4.8.x LTS.

Credit

This issue was discovered and reported by Mark Thorson of AT&T.

Notes

The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-21876 refers to the commit that resolved the issue, and have more details. This CVE is related to the CVE-2025-27636 and CVE-2025-29891.

References