REDHAT-BUG-2497295: Input Validation

Published Jul 6, 2026
·
Updated

Improper Input Validation, Unintended Proxy or Intermediary ('Confused Deputy') vulnerability in Apache Camel CXF SOAP component.

The camel-cxf producer selects which SOAP operation to invoke on the backend service from the operationName (and operationNamespace) Exchange header, whose constant values (CxfConstants.OPERATIONNAME / OPERATIONNAMESPACE) were the plain strings operationName / operationNamespace. 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 a cxf: producer, any HTTP client could therefore set the operationName header and have CxfProducer resolve and invoke a different WSDL operation than the route intended - for example replacing a read operation with a destructive one - against the backend SOAP service (a confused-deputy redirection). The constant is defined in the shared camel-cxf-common module, so the same non-prefixed names also applied to camel-cxfrs. No credentials are required when the bridging consumer is unauthenticated. This 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.

Users 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, the operation-selection headers are named CamelCxfOperationName / CamelCxfOperationNamespace and are filtered at transport boundaries; see the 4.21 upgrade guide for the cross-transport carrier-header pattern. For deployments that cannot upgrade immediately, do not select the CXF operation from untrusted input: strip the operationName and operationNamespace headers from any untrusted ingress before the cxf: producer and set the operation from a trusted source in the route.

Affected Software

2 affected components
Apache Camel CXF SOAP component>4.0.0<4.14.8, >4.15.0<4.18.3, >4.19.0<4.21.0
Apache Apache Camel<4.14.8, <4.18.3, <4.21.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Camel CXF SOAP component (camel-cxf) to a version that resolves this vulnerability.

    Fixed in 4.21.0
  2. Upgrade

    Upgrade Apache Camel (4.14.x LTS releases stream) to a version that resolves this vulnerability.

    Fixed in 4.14.8
  3. Upgrade

    Upgrade Apache Camel (4.18.x releases stream) to a version that resolves this vulnerability.

    Fixed in 4.18.3
  4. Configuration

    For deployments that cannot upgrade immediately, strip the operationName and operationNamespace (or the CXF equivalents) headers from any untrusted ingress before the cxf: producer; then set the operation from a trusted source in the route.

    HttpHeaderFilterStrategy operationName/operationNamespace header filtering at HTTP boundary (Camel namespace only) = Ensure CXF operation-selection headers are blocked at the HTTP transport boundary (CamelCxfOperationName / CamelCxfOperationNamespace or operationName/operationNamespace per version) so untrusted ingress cannot set them

Event History

Jul 6, 2026
Data Sourced
via Red Hat·09:02 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2497295?

The severity of REDHAT-BUG-2497295 is high with a score of 7.

2

What type of vulnerability is REDHAT-BUG-2497295?

REDHAT-BUG-2497295 is categorized as an Improper Input Validation vulnerability.

3

How does REDHAT-BUG-2497295 affect Apache Camel CXF SOAP component?

REDHAT-BUG-2497295 allows for unintended proxy or intermediary actions via the camel-cxf producer selecting improper SOAP operations.

4

What are the potential consequences of exploiting REDHAT-BUG-2497295?

Exploiting REDHAT-BUG-2497295 could lead to unauthorized access to backend services by manipulating the operationName and operationNamespace headers.

5

How do I fix REDHAT-BUG-2497295?

To fix REDHAT-BUG-2497295, ensure proper validation of input parameters for the camel-cxf producer to prevent misuse.

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