CVE-2026-49099: Apache Camel Salesforce: Non-Camel-prefixed Exchange header constants bypass the HTTP header filter, allowing an HTTP client to influence internal behaviour

Published Jul 5, 2026
·
Updated

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), Authorization Bypass Through User-Controlled Key vulnerability in Apache Camel Salesforce Component.

The camel-salesforce producer resolves its operation parameters - the SOQL query, the SOSL search, the target SObject name and id, the Apex REST URL and method, and the Apex query parameters - from Exchange message headers, reading the header in preference to the value configured on the endpoint (AbstractSalesforceProcessor.getParameter() reads the header first and uses the endpoint configuration only as a fallback). The control-header constants in SalesforceEndpointConfig (for example SOBJECTQUERY = sObjectQuery, SOBJECTSEARCH = sObjectSearch, SOBJECTNAME = sObjectName, SOBJECTID = sObjectId, APEXURL = apexUrl, APEXMETHOD = apexMethod, and the apexQueryParam. prefix) used plain, non-Camel-prefixed values. 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 salesforce: producer, any HTTP client could therefore set these headers and override what the route intended - supplying its own SOQL query or SOSL search to read data from any SObject the connected Salesforce user can access, overriding the target SObject name and id for CRUD operations, or redirecting an Apex REST call to a different endpoint and HTTP method (including destructive methods) with injected query parameters. All such operations run with the full permissions of the Salesforce connected (integration) user, which is typically broad. No credentials are required from the attacker 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, routes that set Salesforce operation parameters via the raw header names must use the CamelSalesforce names (for example CamelSalesforceSObjectQuery and CamelSalesforceApexUrl) instead of the old sObject / apex values; the endpoint-option spelling is unchanged. For deployments that cannot upgrade immediately, strip the Salesforce control headers from any untrusted ingress before the salesforce: producer (for example removeHeaders('sObject') and removeHeaders('apex') at the start of the route), and set the query, SObject and Apex parameters from a trusted source.

Affected Software

5 affected components
Apache Apache Camel>4.0.0<=4.14.8, >4.15.0<=4.18.3, >4.19.0<=4.21.0
Apache Camel-Salesforce>4.0.0<=4.14.8, >4.15.0<=4.18.3, >4.19.0<=4.21.0
Apache Camel>=4.0.0<4.14.8
Apache Camel>=4.15.0<4.18.3
Apache Camel>=4.19.0<4.21.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Camel Salesforce to a version that resolves this vulnerability.

    Fixed in 4.14.8
  2. Upgrade

    Upgrade Apache Camel Salesforce to a version that resolves this vulnerability.

    Fixed in 4.18.3
  3. Upgrade

    Upgrade Apache Camel Salesforce to a version that resolves this vulnerability.

    Fixed in 4.21.0
  4. Configuration

    In the routes/filters handling the HTTP boundary, update/ensure the header filtering applies to Salesforce control headers beyond only the Camel/* namespace, since non-Camel-prefixed Exchange header constants bypass HttpHeaderFilterStrategy and can be passed into the Exchange.

    Apache Camel HttpHeaderFilterStrategy Camel header namespace filtering = Ensure HttpHeaderFilterStrategy blocks Salesforce control headers even when non-Camel-prefixed (e.g., sObjectQuery, sObjectSearch, apexUrl) are used
  5. Configuration

    For deployments that cannot upgrade immediately, strip the Salesforce control headers from any untrusted ingress before the salesforce: producer (e.g., at the start of the route removeHeaders('sObject*') and removeHeaders('apex*')), and then set SOQL/SOSL query, SObject and Apex parameters from a trusted source.

    Apache Camel route bridging HTTP consumer into salesforce: producer Header stripping for Salesforce control headers = removeHeaders('sObject*') and removeHeaders('apex*') at the start of the route
  6. Configuration

    After upgrading, update routes that set Salesforce operation parameters via raw header names so they use CamelSalesforce* header names rather than non-Camel-prefixed sObject* / apex* header names.

    Apache Camel Salesforce routes after upgrade Salesforce operation header names = Use CamelSalesforce* names (e.g., CamelSalesforceSObjectQuery and CamelSalesforceApexUrl) instead of old sObject* / apex* values; endpoint-option spelling is unchanged

Event History

Jul 6, 2026
CVE Published
via MITRE·08:11 AM
Data Sourced
via MITRE·08:11 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeaknessAffected 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 CVE-2026-49099?

CVE-2026-49099 has a risk score of 30, indicating a significant vulnerability.

2

How does CVE-2026-49099 affect Apache Camel Salesforce?

CVE-2026-49099 allows an HTTP client to influence internal behavior by bypassing the HTTP header filter.

3

How do I fix CVE-2026-49099?

Fixing CVE-2026-49099 involves updating to the latest patched version of the Apache Camel Salesforce component.

4

What types of attacks can CVE-2026-49099 facilitate?

CVE-2026-49099 could facilitate injection attacks or unauthorized access through manipulated HTTP headers.

5

Is CVE-2026-49099 specific to any version of Apache Camel?

CVE-2026-49099 affects specific versions of Apache Camel Salesforce, so checking version compatibility is crucial.

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