Apache Camel: camel-spring-ws does not apply the HeaderFilterStrategy to outbound SOAP responses, disclosing Camel-internal headers to clients
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Oct 1, 2026
Description
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Spring-Ws component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.
In camel-spring-ws, the configured HeaderFilterStrategy was not applied to outbound SOAP responses, so Camel-internal headers (names beginning with Camel, camel or org.apache.camel.) that were set on the exchange during routing were copied into the SOAP response returned to the remote client. A remote client could therefore observe internal routing state that should not leave the application. The fixed releases apply the outbound header filter to SOAP responses so that Camel-internal headers are not disclosed.
Users are recommended to upgrade to 4.18.6 for the 4.18.x LTS releases stream, to 4.22.2 for the 4.22.x LTS releases stream, or to 4.23.0. As a workaround, a removeHeaders EIP can be used before the response is produced to strip the Camel-internal headers.
| Product | Versions |
|---|---|
| Apache Camel Apache Software Foundation | 4.0.0 to before 4.18.6 Affected4.19.0 to before 4.22.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | apache |
Weaknesses
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
- Apache Camel Security Advisory - CVE-2026-103873Vendor Advisory
- CAMEL-25340Issue Tracker
- Fix on main, released in 4.23.0 (commit b2658f6b407d)Patch
- Backport to camel-4.22.x, released in 4.22.2 (commit d53eb7feecde)Patch
- Backport to camel-4.18.x, released in 4.18.6 (commit 9bd6d689f29d)Patch
- http://www.openwall.com/lists/oss-security/2026/11/30/16
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.