Apache Software Foundation Apache Camel vulnerabilities, page 3
153 vulnerabilities
Known vulnerabilities in Apache Software Foundation Apache Camel, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-110477apache software foundation · apache camelApache Camel: Camel-GraphQL follows cross-origin redirects and re-sends the configured credentials to the new originExposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel GraphQL component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
camel-graphql sent the configured accessToken or basic credentials with every request, including a request to another origin that an HTTP redirect pointed to, disclosing them to an origin the operator did not configure. From 4.0.0 to 4.18.5 the component followed redirects by default; from 4.19.0 it follows them only when followRedirects is enabled on the http component it uses. The fixed releases send the credentials only to the scheme, host and port of httpUri.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS5.9MediumEPSS0.68%RoutineCVE-2026-110471apache software foundation · apache camelApache Camel: Camel-PQC: shared secret confusion between concurrent exchanges - one KeyGenerator instance, and for the hybrid operations one KeyAgreement instance, was shared across concurrent key encapsulation operations without synchronizationConcurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in Apache Camel PQC component.
This issue affects Apache Camel: from 4.12.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
The key encapsulation operations of the camel-pqc component, including the hybrid ones, and the PQC data format used a single javax.crypto.KeyGenerator instance, and the hybrid operations a single KeyAgreement instance, for every exchange without synchronizing access. A key encapsulation KeyGenerator is stateful and is not thread safe: it is initialised either to generate an encapsulation or to extract one, and then produces its result from that state. With concurrent exchanges sharing one instance, the initialisation of one operation and the generation of another interleave, so an operation can return the encapsulation and the secret key that belong to another exchange, which leaves data encrypted under a secret that another party holds, or it can fail. In the hybrid operations the classical key agreement keeps the combined secret unknown to the other party, so the outcome there is a failed exchange. The data format is affected in its default configuration, and so is a KeyGenerator registered as a bean, which is autowired into every pqc endpoint. Reaching it requires concurrent traffic through the same endpoint or data format, which is the ordinary condition for a Camel route under load.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. The fixed releases use a new KeyGenerator (and, for the hybrid operations, a new KeyAgreement) for every operation when Camel creates the instance itself, and a configured instance is used by one exchange at a time. For deployments that cannot upgrade immediately, restrict the affected route to a single concurrent consumer so that no two exchanges use the instance at once.CVSS4.8MediumEPSS0.57%PrioritiseCVE-2026-109146apache software foundation · apache camelApache Camel: Camel-Chunk expands untrusted message data as template code, disclosing other headers and variablesImproper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache Camel Chunk component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
camel-chunk re-parsed untrusted message body and header content as Chunk template code, so template directives contained in attacker-controlled data were evaluated and could read other message headers and template variables. The fixed releases render the message data literally instead of re-parsing it as a template.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS7.5HighEPSS0.72%PrioritiseCVE-2026-109130apache software foundation · apache camelApache Camel: Camel-LRA server-side request forgery through an untrusted Long-Running-Action headerServer-Side Request Forgery (SSRF) vulnerability in Apache Camel LRA component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
In camel-lra, the Long-Running-Action header supplied with an incoming request was trusted to identify the LRA coordinator, so an untrusted header value could make the component join or contact an attacker-chosen coordinator URL, a server-side request forgery against hosts reachable from the Camel process. The fixed releases only join LRAs hosted by the configured LRA coordinator.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS7.5HighEPSS0.68%PrioritiseCVE-2026-109128apache software foundation · apache camelApache Camel: Camel-LRA participant callbacks are unauthenticated, so a remote caller can trigger the compensation and completion stepsMissing Authentication for Critical Function vulnerability in Apache Camel LRA component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
In camel-lra, the participant callbacks that the LRA coordinator invokes to compensate or complete a long-running action were not authenticated, so an unauthenticated caller who could reach the callback endpoints could invoke the registered compensation and completion steps of a long-running action directly, driving the participant's business logic without going through the coordinator. The fixed releases verify participant callbacks with an optional shared secret.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. After upgrading, set the callbackSecret option of the LRA saga service (camel.lra.callbackSecret) so that the participant callbacks are signed and verified. The option is not set by default: without it the callbacks are still accepted unverified and a warning is logged at startup, so the participant endpoints must only be reachable by the LRA coordinator.CVSS7.5HighEPSS0.74%RoutineCVE-2026-109120apache software foundation · apache camelApache Camel: Camel-OAuth login cross-site request forgery because the bearer token processor was stateful and bound token request parameters to the browser sessionCross-Site Request Forgery (CSRF) vulnerability in Apache Camel OAuth component.
This issue affects Apache Camel: from 4.11.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
camel-oauth's OAuthBearerTokenProcessor was stateful and bound the bearer token request parameters it read to the browser session, so an attacker could cause bearer token request parameters to be bound to a victim's browser session, a login cross-site request forgery that let the victim operate under an identity the attacker influenced. The fixed releases make OAuthBearerTokenProcessor stateless and read the credentials per request instead of binding them to the session.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS5.4MediumEPSS0.26%RoutineCVE-2026-109112apache software foundation · apache camelApache Camel: Camel-Telegram webhook accepts unauthenticated updates on a predictable default pathMissing Authentication for Critical Function vulnerability in Apache Camel Telegram component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2, from 4.23.0 before 4.24.0.
When the Telegram bot token was configured on the camel-telegram component, the webhook consumer accepted updates on a predictable default path without verifying that they came from Telegram, so a party able to reach the path could post crafted updates that the route processed as genuine. The fixed releases verify the Telegram Bot API secret token on webhook updates.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. When Camel registers the webhook at startup (webhookAutoRegister=true, the default), nothing else is needed. When the webhook is registered in another way, register it again with the secret token (see the webhookSecretToken option), otherwise the upgraded consumer rejects the updates.CVSS5.9MediumEPSS0.70%RoutineCVE-2026-107505apache software foundation · apache camelApache Camel: Camel-Thrift: the SSL consumer does not fully apply the configured SSL settings, so the configured trust managers and the required client authentication are not enforced on the consumerImproper Authentication vulnerability in Apache Camel Thrift component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
The camel-thrift SSL consumer built its TLS listener from the key store alone, so the trust managers and the required-client-authentication setting that the operator configured through Camel's SSLContextParameters were not applied by the consumer. A consumer configured for mutual TLS therefore did not enforce the client-certificate requirement its configuration had set, and the protected key was opened with the key-store password rather than the key-manager key password. The fix rebuilds the server socket from the full SSLContextParameters so the configured trust managers and the need/want client-authentication setting are applied.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS6.5MediumEPSS0.39%RoutineCVE-2026-107489apache software foundation · apache camelApache Camel: Camel-A2A derives the task owner from a shared API key or a missing token subject, exposing tasks across callersImproper Authentication vulnerability in Apache Camel A2A component.
This issue affects Apache Camel: from 4.21.0 before 4.22.3, from 4.23.0 before 4.24.0.
camel-a2a derived the task owner from a shared API key, or from a missing subject claim when the token had none, so tasks were not isolated per authenticated caller and one caller could see or act on another caller's tasks. The fixed releases derive the caller profile so tasks are scoped to the authenticated caller.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3.CVSS6.5MediumEPSS0.70%RoutineCVE-2026-107487apache software foundation · apache camelApache Camel: Camel-Thrift Information Disclosure via Unmuted Consumer ExceptionsGeneration of Error Message Containing Sensitive Information vulnerability in Apache Camel Thrift component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
The Apache Camel camel-thrift component runs a Thrift RPC server for its consumer. When processing of an inbound call failed, the consumer returned the route's own exception - including its internal message - to the remote (untrusted) client, disclosing internal application and Exchange state across the consumer's trust boundary. A new muteException consumer option, enabled by default, now answers an undeclared failure with a generic Thrift error while still returning exceptions that are declared in the service IDL, so clients written against the contract keep working.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS5.3MediumEPSS0.59%RoutineCVE-2026-107486apache software foundation · apache camelApache Camel: Camel-Thrift: a consumer configured for the SSL negotiation type in the default asynchronous mode started a plaintext server, and the unsupported SASL negotiation type was silently treated as plaintext on both the consumer and the producerCleartext Transmission of Sensitive Information vulnerability in Apache Camel Thrift component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
In the camel-thrift component of Apache Camel, a consumer configured with the SSL negotiation type while left in the default asynchronous mode (synchronous=false) started its server without TLS, and the SASL negotiation type - documented as not implemented - was silently treated as plaintext on both the consumer and the producer. A transport that the operator had configured to be secure therefore ran in cleartext instead of the component refusing to start. The fix makes both configurations fail closed at startup.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS4.8MediumEPSS0.32%PrioritiseCVE-2026-107485apache software foundation · apache camelApache Camel: Camel-Platform-HTTP-Main management server access restrictions are not applied when it shares the HTTP server portImproper Authentication vulnerability in Apache Camel Platform HTTP Main component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
In Apache Camel's camel-platform-http-main, when the Camel Main application HTTP server and the management HTTP server are configured to share the same port, the management server's own access restrictions (host binding, context path, TLS, and authentication) are not applied to the shared server. As a result the management endpoints can be served under the broader application-server exposure instead of the operator's configured management boundary. This issue affects Apache Camel from 4.14.0; users should upgrade to 4.18.6, 4.22.3 or 4.24.0 depending on their release line.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS8.6HighEPSS0.62%RoutineCVE-2026-127042apache software foundation · apache camelApache Camel: Camel-WhatsApp: the WhatsApp producer logs the full REST response body at INFO, exposing message recipient identifiersInsertion of Sensitive Information into Log File vulnerability in Apache Camel WhatsApp component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.
The camel-whatsapp component's producer (WhatsAppServiceRestAPIAdapter) writes the full REST response body returned by the WhatsApp Cloud API to the application log at INFO on every send, with no opt-in. Because a successful response echoes the submitted recipient value and the WhatsApp contact id (contacts[].input, contacts[].wa_id) and carries provider message identifiers, those routing identifiers are copied into routine production logs and any downstream log aggregation. The fix stops logging the response body at INFO and logs only the response status code.
Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.CVSS3.3LowEPSS0.23%RoutineCVE-2026-105968apache software foundation · apache camelApache Camel: camel-netty-http matches security-constraint roles by substring instead of exact valueImproper Authorization vulnerability in Apache Camel Netty HTTP component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.
Camel-netty-http compared security-constraint roles using substring matching rather than exact comparison, so an authenticated user whose role name was a substring of a required role (for example a user holding "admin" against a constraint requiring "superadmin") could satisfy a constraint it should not, bypassing the intended authorization. The fixed releases match constraint roles by exact value.
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.CVSS7.1HighEPSS0.73%PrioritiseCVE-2026-105966apache software foundation · apache camelApache Camel: camel-undertow does not enforce the security provider and allowed roles on WebSocket endpointsMissing Authorization vulnerability in Apache Camel Undertow component.
This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.2.
Camel-undertow did not enforce the configured securityProvider and allowedRoles on WebSocket endpoints, so a client could open a WebSocket consumer without passing the authentication and role checks that apply to the HTTP endpoints, reaching a route intended to be protected. The fixed releases run the security-constraint checks for WebSocket consumers as well.
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.CVSS8.2HighEPSS1.30%RoutineCVE-2026-103873apache software foundation · apache camelApache Camel: camel-spring-ws does not apply the HeaderFilterStrategy to outbound SOAP responses, disclosing Camel-internal headers to clientsExposure 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.CVSS5.3MediumEPSS0.81%RoutineCVE-2026-71569apache software foundation · apache camelApache Camel: Camel-A2A Push Notification Webhook Guard Accepts IPv6 Unique Local Addresses Reached Through a Host NameServer-Side Request Forgery (SSRF) vulnerability in Apache Camel A2A component.
This issue affects Apache Camel: from 4.21.0 before 4.22.2.
WebhookUrlValidator classified a push notification webhook host in two places that did not agree. A host written as an IP literal was matched against a list of string prefixes that named the IPv6 unique local range fc00::/7, while a host reached through a name was resolved and the resulting address classified with the InetAddress predicates isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress and isSiteLocalAddress. Those predicates do not cover the same ground as the prefix list: isSiteLocalAddress reports the deprecated fec0::/10 block and not the fc00::/7 unique local addresses that replaced it, and the JDK carries no predicate for them at all. The same address was therefore accepted or rejected depending on how it was written, and a webhook URL whose host name resolved into fc00::/7 passed a guard that refused the identical address given as a literal. PushNotificationDispatcher then sent the push notification to that address, together with any Authorization header carried in the same configuration, whose scheme and credentials the registering caller supplies. The webhook URL arrives as TaskPushNotificationConfig.url from the caller registering the push notification, so it is attacker-controlled, and allowLocalWebhookUrls is false by default, which is the configuration in which the guard is expected to hold. The response is not relayed back to the caller who registered the configuration, so what the gap yields is a blind outbound HTTPS request from the Camel process to an internal address the guard was written to refuse; reaching a service that way additionally requires that the name resolve into fc00::/7 in the target environment, that an HTTPS service be listening on that address, and that the TLS handshake succeed for the name being requested, which is why the severity is assessed medium. The same string pre-check was also wrong in the other direction: it matched the raw host string without first establishing that the host was an IP literal, so any name merely beginning with fc or fd, such as fcm.googleapis.com, was refused outright.
Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. The 4.21.x release line reached end of life before this issue was resolved and will not receive a fix, so deployments on it must move to a supported release. Both the literal and the resolved path now classify the address from its raw bytes with one shared classifier, which recognises fc00::/7 and the shared address space 100.64.0.0/10, as well as IPv4-compatible, NAT64 (64:ff9b::/96) and 6to4 (2002::/16) addresses whose embedded IPv4 address is not globally routable. For deployments that cannot upgrade immediately, place authentication in front of the A2A push notification configuration path so that the webhook URL does not arrive from an untrusted caller, and deny egress from the Camel process to fc00::/7 at the network level; where the deployment has no need of IPv6, starting the JVM with -Djava.net.preferIPv4Stack=true removes the address class the gap turns on. Note that allowLocalWebhookUrls=false is already the default and does not by itself close the gap.CVSS4.8MediumEPSS0.35%PrioritiseCVE-2026-90885apache software foundation · apache camelApache Camel: Camel-Saxon XML External Entity Processing - XQueryBuilder Parsed a Message Body That Was Already a javax.xml.transform.Source With Saxon's Default Parser Settings, so an External Entity Declared in That Body Was ResolvedImproper Restriction of XML External Entity Reference vulnerability in Apache Camel Saxon component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2.
XQueryBuilder in camel-saxon, which evaluates expressions for the xquery language and the xquery component, built its default Saxon Configuration with parse options that set only a whitespace stripping rule, leaving the XML parser at its defaults, under which a DOCTYPE declaration is accepted and external entities are resolved. A message body of type String or byte[], or any body read as an InputStream, is first turned into a javax.xml.transform.Source by Camel's own XML type converters, which configure the parser against external entities, so those bodies were not affected. A body that was already a Source, however, was handed to Saxon unchanged, and when that Source still had to be parsed, as a stream-based Source does, Saxon parsed it with that Configuration, bypassing the protection applied to the other body types. Such a body arises, for example, after a route converts the message with convertBodyTo(Source.class), or when a component or processor earlier in the route sets the body to a stream-based Source. A DOCTYPE with an external subset, or an external entity, declared in that body was therefore resolved and expanded into the document the expression was evaluated against. An external sender whose XML reaches an XQuery expression or an xquery endpoint in that form could read files readable by the Camel process and cause the process to issue requests to hosts the document names. No non-default option is required, since the default Configuration is used whenever the route does not supply one of its own.
Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier, as well as the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines, reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. For deployments that cannot upgrade immediately, do not evaluate XQuery over a message body that is already a javax.xml.transform.Source when that body carries XML from an untrusted sender, or set the configuration option of the xquery endpoint or language to a Saxon Configuration whose parse options refuse a DOCTYPE declaration and disable external entities and external DTD loading, which is what the fixed releases now apply by default.CVSS7.5HighEPSS0.70%RoutineCVE-2026-94386apache software foundation · apache camelApache Camel: Camel-OAuth Cross-Scope Token Reuse via an Under-Keyed JVM-Global Client Credentials Token CacheUse of Cache Containing Sensitive Information vulnerability in Apache Camel Oauth component.
This issue affects Apache Camel: from 4.19.0 before 4.22.2.
OAuthClientCredentialsTokenResolver obtains OAuth 2.0 bearer tokens through the client credentials grant on behalf of the components that authenticate their outbound calls with a named OAuth profile, such as camel-openai, camel-langchain4j-agent, camel-huggingface, camel-docling, camel-a2a, camel-spring-ai-chat and the IBM watsonx components, and of applications that call the OAuthClientAuthenticationFactory SPI directly. It kept the tokens it obtained in a static cache shared by every resolver instance and every CamelContext in the JVM, and keyed that cache on the token endpoint and the client ID only, although the token request also carries the client secret and the requested scope. Two profiles that share a token endpoint and a client ID but request different scopes, or authenticate with different client secrets, therefore mapped to the same cache entry: the profile that resolved a token first populated the entry, and the other profile was then handed that token, with no token request made under its own configuration, for as long as the token remained valid. Token caching is enabled by default, and pointing several profiles at one identity provider client is an ordinary use of the profile support rather than an opt-in to an insecure setting. The outcome is an outbound request that carries a token issued for another profile's scope, which can grant broader authority than the calling profile was configured for, or reach a service the token was not issued for; with identity providers that derive a token's audience from the requested scope, a different scope can mean a token for a different service altogether. A profile configured with a different client secret was likewise served the token obtained with the other secret, without authenticating with its own. The profiles are configured by the deployment, which is trusted, so no untrusted input reaches the cache: the party that gains is the service that receives a token it was not meant to receive, which, if hostile or compromised, can replay that token within its scope. Reaching the issue requires a deployment that defines more than one profile sharing a token endpoint and client ID while differing in scope or client secret.
Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. The 4.19.x to 4.21.x release lines reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. For deployments that cannot upgrade immediately, disable token caching on every OAuth profile that shares a token endpoint and client ID with another profile, by setting camel.oauth.NAME.cache-tokens=false for a named profile or camel.oauth.cache-tokens=false for the default one, so that each resolution requests a token with that profile’s own scope and client secret, at the cost of a token request on every resolution. Alternatively, register a separate client at the identity provider for each profile that needs a different scope or client secret, so that no two such profiles share a client ID.CVSS4.8MediumEPSS0.38%RoutineCVE-2026-95628apache software foundation · apache camel +1 moreApache Camel: Camel-Docling Custom CLI Argument Path Validation Does Not Reject Absolute Paths (Incomplete Fix of CVE-2026-40047)Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel Docling component.
This issue affects Apache Camel: from 4.15.0 before 4.18.5, from 4.19.0 before 4.22.2.
DoclingProducer builds the command line of the external docling tool and appends to it the custom arguments supplied in the CamelDoclingCustomArguments header, a list of strings whose flags the fix for CVE-2026-40047 restricted to an allowlist. That fix also introduced validatePathSafety to keep path-like argument values inside the intended directory, but the method only looked for relative traversal: it rejected a value containing a traversal sequence such as ../ and a value whose normalized form still held a .. element. It never checked whether a value was an absolute path, and an absolute path without traversal segments contains neither, so it passed unchanged. Every path-like value went through this check, whether it was a separate list element following its flag or was attached to the flag after an equals sign, so an absolute path was accepted in either form, for example as the directory given to the allowlisted --artifacts-path flag, which tells docling where to find its model artifacts. Such a value reached the docling command line as given, so a party able to choose the custom arguments could point the docling process at any directory the Camel process can access, outside the working directory that the check was meant to keep path values in, which is the outcome the CVE-2026-40047 fix set out to prevent. Only the CLI mode, which is the default, passes custom arguments to docling. The header belongs to the Camel header namespace, which consumers applying Camel's default header filtering, such as the JMS and Kafka consumers, remove from incoming messages, so the issue is reached where a route forwards externally influenced values into the header or where a consumer maps incoming headers without that filtering.
Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. For deployments that cannot upgrade immediately, do not build the CamelDoclingCustomArguments header from values that originate outside the deployment, remove that header from messages that arrive from outside before they reach a docling endpoint, and make sure that consumers which map incoming message headers drop the Camel header namespace, so that only the route itself chooses the custom arguments.CVSS5.4MediumEPSS1.32%