Apache Camel camel-spring-ws flaw leaks internal headers in SOAP responses (CVE-2026-103873)
According to the oss-security mailing list, CVE-2026-103873 lets a remote client see internal Apache Camel routing data through SOAP responses. Fixed releases are available, and a route-level workaround is described.
ApacheWebVulnerabilitiesKey points
- CVE-2026-103873 in Apache Camel's camel-spring-ws lets remote clients see Camel-internal headers in SOAP responses.
- Rated CVSS 3.1 5.3 (medium) with low confidentiality impact only.
- Affected: camel-spring-ws 4.0.0 to before 4.18.6, and 4.19.0 to before 4.22.2.
- Fixed in 4.18.6, 4.22.2, or 4.23.0; no exploitation or public proof of concept reported.
What happened
According to an oss-security advisory, CVE-2026-103873 is an information exposure flaw in the camel-spring-ws component of Apache Camel. A remote client can see data that should remain inside the application. The vendor rates it CVSS 3.1 base score 5.3 (medium), with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, which indicates a low confidentiality impact and no integrity or availability impact.
The component did not run its configured header filter on outgoing SOAP responses. As a result, headers with Camel-internal name prefixes (Camel, camel, or org.apache.camel.) that were attached during route processing were sent back to SOAP clients. The advisory says a remote client could observe internal routing state through these headers. The report does not mention confirmed exploitation in the wild or a public proof of concept.
Affected versions and fixes
The affected packages are org.apache.camel:camel-spring-ws from 4.0.0 before 4.18.6, and from 4.19.0 before 4.22.2. The fixed releases pass outgoing SOAP responses through the header filter, so internal headers are withheld. The recommended upgrade targets are 4.18.6 for the 4.18.x LTS line, 4.22.2 for the 4.22.x LTS line, or 4.23.0.
The advisory describes a workaround: add a header-removal step in the route before the response is generated, which strips the internal headers. Andrea Cosentino is credited with finding the issue and developing the fix, and the advisory also credits Claude Security. Further details are in Apache Jira issue CAMEL-25340, GitHub pull requests 27377, 27423 and 27424, the Apache Camel security page, and the CVE record. Readers should consult the original advisory for the full text.
What to do
- Upgrade camel-spring-ws to 4.18.6, 4.22.2, or 4.23.0, depending on your release line.
- If you cannot upgrade yet, add a header-removal step in affected routes before the response is generated, as the advisory describes.
- Review the Apache Camel security page and CVE record for the official advisory.
Original report
“CVE-2026-103873: Apache Camel: camel-spring-ws does not apply the HeaderFilterStrategy to outbound SOAP responses, disclosing Camel-internal headers to clients”
Posted by Andrea Cosentino on Nov 30 Severity: CVSS 3.1: 5.3 (medium) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Affected versions: - Apache Camel (org.apache.camel:camel-spring-ws) 4.0.0 before 4.18.6 - Apache Camel (org.apache.camel:camel-spring-ws) 4.19.0 before 4.22.2 Description: Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Spring-Ws component. T…
Vulnerabilities mentioned
- Apache Camel netty-http CVE-2026-105968: partial role matching enables unauthorized route access
- Apache Camel camel-undertow flaw lets unauthenticated clients bypass WebSocket authorization
- Apache JSPWiki Publishes 22 Security Notices, Including a Critical Session Fixation Flaw
- Apache Struts 6.9.0 Flaw Lets Disallowed HTTP Methods Reach Actions (CVE-2026-133649)
- Apache Struts Flaw Lets Attackers Bypass HTTP Method Restrictions on Default Actions