Apache camel 4.22.1 Release
New and Noteworthy
This release is the new Camel 4.22.1 LTS release.
Security fixes in this release
This release fixes the following 39 published vulnerabilities. See the security advisories for all advisories.
- CVE-2026-88900 High Camel-JGroups: Unsafe Java deserialization of cluster messages in the JGroups consumer can lead to remote code execution
- CVE-2026-91858 Medium Camel-FOP: XML external entity processing - FopProducer created a TransformerFactory with only secure processing enabled, so when a third-party JAXP TransformerFactory such as Saxon-HE was on the classpath, an external DTD or entity declared in the XSL-FO input was resolved and expanded
- CVE-2026-88901 High Camel-Smooks: XML external entity processing - the Smooks data format and component parsed the incoming XML message body with the reader Smooks resolves by default, which resolves external general and parameter entities and loads external DTDs, so an external entity declared in that body could read local files or reach internal hosts
- CVE-2026-85317 Medium Camel-HTTP: OAuth2 token confusion - the JVM-global token cache was keyed on fewer fields than shape the token, so an endpoint could be served a cached token minted for a different scope, resource or token endpoint
- CVE-2026-85316 Medium Camel-Platform-HTTP: unintended proxy mode - proxy mode was selected by testing whether the configured path started with proxy, so any path beginning with those characters silently became a proxy endpoint
- CVE-2026-85315 Medium Camel-gRPC: information disclosure - the route exception's message was placed into the gRPC status description, which is transmitted to the caller, so an internal error message reached an external client
- CVE-2026-85314 Medium Camel-Mail: header injection - the MimeMultipart data format mapped mail.smtp headers onto the Exchange without applying the filter, leaving open the path that CVE-2026-46584 was intended to close
- CVE-2026-85313 Medium Camel-Jetty: cross-origin credential exposure - setting enableCORS installed Jetty's CrossOriginFilter with its allow-all defaults, so every origin was accepted and credentials were granted to all of them
- CVE-2026-85312 Medium Camel-Core: saga hijacking - the saga processor consulted a Long-Running-Action header that sits outside the filtered Camel namespace, so an external sender could name the saga an exchange joined
- CVE-2026-85301 Medium Camel-Keycloak: issuer validation bypass - the issuer check was skipped rather than failed when the token introspection response carried no iss claim, so a token from an unintended issuer could be accepted
- CVE-2026-85300 Medium Camel-PQC: private key disclosure - generated key material was written to disk with the process default file permissions rather than restricted to the owner, so any local account able to read the directory could read the private key
- CVE-2026-85296 Medium Camel-AS2: cross-partner signing key confusion - per-request signing material was held in state shared across requests, so a receipt could be signed with the key belonging to a different trading partner
- CVE-2026-85260 Medium Camel-MLLP: protected health information disclosure - logPhi defaulted to true so HL7 payload content was written to the log out of the box, and two code paths logged it regardless of the setting
- CVE-2026-85257 Medium Camel-CXF: information disclosure - an exception thrown by the route was described back to the SOAP client in the fault, exposing internal exception types and messages that were never part of the service contract
- CVE-2026-85254 Medium Camel-Platform-HTTP: request-header echo suppression bypass - the check that stops a request header being echoed into the response compared header names case sensitively, so a differently cased name defeated it, and under HTTP/2 it never matched at all
- CVE-2026-85251 High Camel-HTTP: credential disclosure - with followRedirects enabled the Authorization header was re-attached to whatever host the Location header named, so the remote server chose which host received the credentials
- CVE-2026-85250 High Camel-XPath: XML external entity processing - the documentType=InputSource option handed the payload to an XPath engine that built its own parser with JDK defaults, so a DOCTYPE refused on the default document type was accepted and its external entity resolved
- CVE-2026-85249 Medium Camel-Tika: header injection - metadata parsed out of the submitted document was mapped onto the Exchange as headers without filtering, so the document could set headers the route relies on, such as CamelFileName
- CVE-2026-85248 Medium Camel-PQC: signature verification bypass - one java.security.Signature instance was shared across concurrent exchanges without synchronization, so interleaved use could make a verification succeed for data it never covered
- CVE-2026-85247 Medium Camel-Knative: improper certificate validation - enabling SSL without configuring a truststore fell back to trusting every certificate, so turning TLS on was the thing that turned certificate validation off
- CVE-2026-85246 Medium Camel-Mina: information disclosure - the consumer wrote the route's exception straight back over the socket, handing the remote peer its class and message over a textline codec and its serialised form over the object codec
- CVE-2026-85245 Medium Camel-Thrift: cross-exchange data disclosure - unmarshalling deserialized into the shared defaultInstance rather than a copy, so fields set by one message remained visible to the next
- CVE-2026-85243 Medium Camel-Crypto-PGP: integrity verification downgrade - the modification detection code was verified only when the message used the integrity protected packet, so a sender choosing the legacy packet skipped the check entirely
- CVE-2026-84181 Medium Camel-Shiro: authentication bypass - the presented credentials were not verified when the Shiro subject already bound to the thread matched the incoming principal, so a request could reuse an authentication it never performed
- CVE-2026-84180 Medium Camel-Knative: information disclosure - a route failure was written back to the remote caller as the response body, so the exception class, message and stack trace of an internal error reached an external sender
- CVE-2026-84178 Medium Camel-OAuth: login cross-site request forgery - the authorization code callback was not bound to the flow that started it, so a code obtained in any browser could be redeemed at the callback and bound to whichever session presented it
- CVE-2026-84176 Medium Camel-Platform-HTTP-Vertx: cross-origin credential exposure - Access-Control-Allow-Credentials was set outside the origin check and the caller's own Origin was reflected back when no origin list was configured, producing a credentialed any-origin CORS policy
- CVE-2026-83531 High Camel-Dynamic-Router: The dynamic-router-control endpoint compiled the subscription predicate from an expression and an expression language supplied by the control message, allowing an actor who can send messages to a route that forwards them to the control endpoint to execute code in the Camel process
- CVE-2026-80344 High Camel-AS2: server-side request forgery and credential disclosure - the asynchronous MDN delivery address supplied by the remote partner was used as the destination for the receipt, so the sender chose where the Camel instance would connect and what credentials it would present
- CVE-2026-80343 High Camel-Netty-HTTP: security constraint bypass - the security constraint matched the request path case sensitively while dispatch to the route did not, so altering the case of a path segment skipped the constraint and still reached the endpoint
- CVE-2026-80312 High Camel-OAuth: authentication bypass - the OAuth processors returned control to the route instead of stopping it when authentication could not be completed, so a request that failed authentication was processed as if it had succeeded
- CVE-2026-79986 High Camel-Azure-Files: the consumer built the remote path of a polled file from the name reported in the share listing without constraining it to the polled directory, so a crafted listing entry could be retrieved, deleted or renamed outside it
- CVE-2026-79985 High Camel-SMB: the consumer built the remote path of a polled file from the name reported in the share listing without constraining it to the polled directory, so a crafted listing entry could be retrieved, deleted or renamed outside it
- CVE-2026-79984 High Camel-Mina-SFTP: the consumer built the remote path of a polled file from the name reported in the server directory listing without constraining it to the polled directory, so a crafted listing entry could be retrieved, deleted or renamed outside it
- CVE-2026-79983 High Camel-FTP: the consumer built the remote path of a polled file from the name reported in the server directory listing without constraining it to the polled directory, so a crafted listing entry could be retrieved, deleted or renamed outside it
- CVE-2026-78165 High Camel-Spring-Redis: The default JdkSerializationRedisSerializer deserializes Redis payloads with no ObjectInputFilter, allowing an actor who can publish to the subscribed channel to achieve remote code execution
- CVE-2026-78164 High Camel HTTP producers: property placeholders were resolved on the message-supplied endpoint-URI override headers, so an unauthenticated sender able to influence those headers could have configuration values and vault secrets expanded into the outbound request and no-argument registry bean methods invoked
- CVE-2026-78163 Medium Camel-Docling: Unvalidated message body input source enables server-side request forgery and local file disclosure in DoclingProducer
- CVE-2026-78162 Medium Camel-Hazelcast: Incomplete fix for CVE-2026-43865 leaves managed instances without a Java deserialization filter, enabling remote code execution
Supported Java version
This version supports Java 17, 21 and 25.Getting the Binaries using Maven
To use this release in your Apache Maven pom.xml, import the Camel Bill of Materials (BOM) and then include the camel-core and any other components needed without specifying the version.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-bom</artifactId>
<version>4.22.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-COMPONENT</artifactId>
</dependency>
</dependencies>
To use this release in a Spring Boot application, use Spring Boot spring-boot-dependencies and Camel camel-spring-boot-bom Bill of Materials (BOM):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version> SPRING BOOT VERSION HERE </version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-bom</artifactId>
<version>4.22.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-COMPONENT-starter</artifactId>
</dependency>
</dependencies>
Apache Camel
| Download | Signature and checksum |
|---|---|
| apache-camel-4.22.1-src.zip (Sources) | PGP Signature, SHA512 Checksum |
| apache-camel-4.22.1-sbom.xml (SBOM, CycloneDX XML) | PGP Signature, SHA512 Checksum |
| apache-camel-4.22.1-sbom.json (SBOM, CycloneDX JSON) | PGP Signature, SHA512 Checksum |
Git tag checkout
Release is tagged with camel-4.22.1 in the Git, to fetch it use:
git clone https://git-wip-us.apache.org/repos/asf/camel.git cd camel git checkout camel-4.22.1
Resolved issues
Here is a list of all the issues that have been resolved for this release
Bug (82)
- CAMEL-24729
- camel-infinispan: a lifespan set without its time unit is silently ignored
- CAMEL-24681
- camel-jbang: export does not include Maven repositories from properties camel.jbang.repos and camel.extra.repos
- CAMEL-24669
- camel-groovy - groovyJson/groovyXml: support Jackson 3 nodes and fix prettyPrint=false output
- CAMEL-24668
- Camel MLLP consumer discards pipelined HL7 messages that arrive in a single TCP read
- CAMEL-24651
- Regression on Camel 4.x NPE on evaluation of a Simple expression ${exception.stacktrace}
- CAMEL-24632
- SSLException when GET/POST to https endpoint with proxy setting using camel-http component
- CAMEL-24630
- camel-kamelet: supervised route reload creates duplicate internal routes and causes context console NPE
- CAMEL-24628
- camel-cli: dependency update silently drops route files passed as positional arguments
- CAMEL-24626
- camel-master: follow-ups to CAMEL-24583 - leadership lock, cancelled task registry entries, backoff documentation
- CAMEL-24623
- camel-infinispan: the QUERY operation silently returns the input when no query builder is set
- CAMEL-24622
- camel-infinispan: the aggregation repository implements RecoverableAggregationRepository without a recovery store
- CAMEL-24593
- camel-platform-http-starter - accepted multipart uploads are copied to the servlet temp directory and never deleted
- CAMEL-24591
- camel-seda - Send fails with "No queue available" after producer route restart (regression from CAMEL-24408)
- CAMEL-24585
- The catalog validateLanguageExpression returns an invoke error when using jsonpath in a simple expression
- CAMEL-24584
- camel-support: BackgroundTask.schedule keeps re-running a task that has completed or run out of budget
- CAMEL-24583
- camel-master: losing leadership while a consumer start is pending leaves the delegated consumer running on a non-leader node
- CAMEL-24573
- CXF REST: UnsupportedOperationException when copying factory bean with fixed-size features list
- CAMEL-24545
- Camel Shutdown Locked State With ZookeeprCluster Service
- CAMEL-24542
- camel-qdrant: the PayloadSelector header is declared and advertised but never read
- CAMEL-24540
- camel-huggingface: revision is ignored by two task predictors and TextToImage never sets the OUTPUT header
- CAMEL-24539
- camel-openai: embeddings/audio store their SDK response under the chat-typed RESPONSE property
- CAMEL-24535
- camel-tensorflow-serving: the Target and Credentials headers are declared but never read
- CAMEL-24534
- camel-qdrant: the embeddings data-type transformer casts every metadata value to String
- CAMEL-24530
- camel-djl: DJLConverter leaks the InputStream opened from File/Path bodies
- CAMEL-24529
- camel-djl: the loaded ZooModel is never closed (native-memory leak on restart)
- CAMEL-24528
- camel-huggingface: four task predictors swallow Python inference errors as success
- CAMEL-24526
- camel-djl: the zoo linear/softmax regression predictors are unimplemented no-ops
- CAMEL-24495
- Authentication-type detection is not triggered via camel-salesforce-maven-plugin. It still uses grant-type USERNAME_PASSWORD
- CAMEL-24493
- camel-ibm-cos: the producer ignores multiPartUpload, partSize, storageClass and deleteAfterWrite options
- CAMEL-24491
- camel-ibm-cos: consumer in-progress deduplication is inert, causing duplicate delivery
- CAMEL-24490
- camel-ibm-watsonx-ai: the timeout option is never applied to the watsonx.ai service clients
- CAMEL-24488
- camel-ibm-watson-speech-to-text: WatsonSpeechToTextProducer leaks the audio FileInputStream
- CAMEL-24486
- camel-core - Simple language init block custom functions ($foo ~:= ...) fail with "No custom simple function" when CamelContext profile is dev
- CAMEL-24484
- camel-file: readLockRemoveOnCommit=false is not respected when idempotent-changed/-rename/idempotent read lock fails to acquire an existing entry
- CAMEL-24483
- camel-jbang export: explicit --dep version is ignored for auto-detected dependencies
- CAMEL-24482
- Camel JBang YAML validator incorrectly requires all data formats inside unmarshal step
- CAMEL-24479
- [camel-jbang] YAML validation incorrectly succeeds when containing invalid properties
- CAMEL-24475
- camel-xpath - documentType=InputSource evaluates the payload with an unhardened XML parser
- CAMEL-24470
- camel-ibm-secrets-manager: IBMEventStreamReloadTriggerTask rejects Event Stream credentials provided via environment variables
- CAMEL-24468
- camel-ibm-secrets-manager - fix defects in IBMSecretsManagerPropertiesFunction (env-var credentials rejected, secret version pin ignored, missing KV field returns "null")
- CAMEL-24464
- camel-exec ignores its documented CamelExecCommand* headers (executable and args have no effect)
- CAMEL-24457
- Camel Zookeeper Cluster Split brain issue when leader is isolated
- CAMEL-24456
- camel-http - OAuth2 token cache key omits tokenEndpoint, scope and resourceIndicator
- CAMEL-24455
- camel-platform-http - any path starting with "proxy" selects HTTP proxy mode
- CAMEL-24454
- camel-mllp - logPhi defaults to true, so message content is written to the log at INFO/WARN
- CAMEL-24453
- camel-platform-http - request-header echo suppression compares header names case-sensitively
- CAMEL-24452
- camel-http - credentials are sent to redirect targets on a different host
- CAMEL-24450
- camel-jetty - enableCORS installs Jetty's CrossOriginFilter with its allow-all defaults
- CAMEL-24449
- camel-core - saga coordinator is selected from the unprefixed Long-Running-Action message header
- CAMEL-24448
- camel-keycloak - introspection issuer validation is skipped when the iss claim is absent
- CAMEL-24447
- camel-pqc - FileBasedKeyLifecycleManager writes private keys with default file permissions
- CAMEL-24445
- camel-pqc - producer shares one Signature instance across concurrent exchanges without synchronization
- CAMEL-24443
- camel-knative-http - enabling SSL without a truststore falls back to trusting all certificates
- CAMEL-24442
- camel-thrift - unmarshal deserializes into and returns a single shared instance
- CAMEL-24441
- camel-crypto-pgp - unmarshal accepts unsigned and non-integrity-protected messages by default
- CAMEL-24439
- camel-shiro - presented password is not verified when the thread subject already matches the username
- CAMEL-24436
- camel-platform-http-vertx - CORS handler allows any origin and always sends Access-Control-Allow-Credentials
- CAMEL-24435
- camel-as2 - asynchronous MDN context attributes are reused across requests on the same connection
- CAMEL-24429
- camel-as2 - ResponseMDN keeps per-request signing keys in shared mutable instance fields
- CAMEL-24427
- camel-servlet, camel-jetty - fileNameExtWhitelist is checked against the wrong value in one binding and absent in the other
- CAMEL-24425
- camel-azure-storage-blob - sasToken is not marked as a secret
- CAMEL-24424
- camel-vertx-http - REST header filter strategy applies the inbound rules on the outbound direction
- CAMEL-24423
- camel-tika - parsed document metadata is copied to exchange headers without filtering
- CAMEL-24419
- camel-mail - MimeMultipartDataFormat unmarshal does not filter the mail.smtp/mail.smtps header namespace
- CAMEL-24417
- camel-as2 - asynchronous MDN delivery address is used without scheme validation and always over a plain socket
- CAMEL-24413
- camel-hazelcast - ReplicatedHazelcastAggregationRepository does not apply the default serialization filter
- CAMEL-24412
- camel-netty-http - security constraint lookup must use the same case-insensitive path matching as dispatch
- CAMEL-24411
- camel-oauth - stop the route when the OAuth processors do not authenticate the request
- CAMEL-24410
- camel-jbang export fails to parse redeliveryDelay in YAML DSL (IllegalArgumentException: Error parsing as java.time.Duration)
- CAMEL-24409
- rest-dsl - Binary data corrupted by rest client request validator
- CAMEL-24408
- SEDA discardIfNoConsumers breaks after consumer removal when sharing the same URI
- CAMEL-24407
- simple predicate fails for long digital strings
- CAMEL-24401
- Camel-jms InOut pattern on to(...) with temporary queues can enter infinitely looping error state
- CAMEL-24392
- BacklogTracerRouteAdvice drains non-re-readable InputStream body before stream caching
- CAMEL-24388
- Camel JBang - PluginHelper should guard against duplicate subcommand registration
- CAMEL-24382
- camel-azure-cosmosdb: change-feed consumer checkpoints the lease before the exchange is processed, losing events on failure
- CAMEL-24376
- boolean zen not working with logical operator
- CAMEL-24375
- parseDuration should handle plain millis value without relying on type converter
- CAMEL-24350
- camel-google-pubsub: producer NPEs on non-convertible headers and drops non-Exchange list elements
- CAMEL-24349
- camel-google-functions: createFunction fails with an opaque NPE when required headers are missing
- CAMEL-24348
- camel-google-bigquery: NPEs on a null body or unknown job id, and insertId is ignored for List bodies
- CAMEL-24347
- camel-google-firestore: listCollections ignores the configured documentId and the realtime queue is unbounded
Dependency upgrade (1)
- CAMEL-24675
- camel-spring-boot - Upgrade to 4.1.1
Improvement (29)
- CAMEL-24677
- camel-smooks: align XML reader configuration with the other XML components
- CAMEL-24676
- camel-jgroups: add a configurable deserialization filter and document serialization hardening for the consumer
- CAMEL-24653
- SSLCertTrustTest: replace external badssl.com dependency with local self-signed HTTPS endpoint
- CAMEL-24627
- camel-file: resolve symlinks when containing local work directory downloads (parity with camel-azure/google-storage)
- CAMEL-24620
- camel-jackson - Add support to enable/disable features from DatatypeFeature enums
- CAMEL-24605
- camel-fop: align FopProducer XML transformation with Camel's standard secure XML processing configuration
- CAMEL-24577
- camel-platform-http-starter - path variable headers are derived from the undecoded request URI
- CAMEL-24576
- camel-dynamic-router: align control endpoint parameter handling with the allowTemplateFromHeader convention
- CAMEL-24574
- camel-google-bigquery - clarify that ${name} is literal substitution and steer value parameters to @name
- CAMEL-24513
- camel-core - Error registry for handlded exception should point to origin of error
- CAMEL-24504
- camel-spring-boot - extend the SpringTypeConverter String guard beyond InputStream targets
- CAMEL-24503
- camel-spring-boot - security policy check does not see camel properties supplied as environment variables
- CAMEL-24502
- Build and CI hardening - workflow token scope, job separation and Maven wrapper checksums
- CAMEL-24501
- camel-spring-boot-generator-maven-plugin - generated configuration binding drops values silently in three places
- CAMEL-24499
- camel-spring-boot - route detail view bypasses the route.start.exception serialization filter
- CAMEL-24497
- camel-undertow-spring-security-starter - JWT decoder is built without an issuer or audience validator
- CAMEL-24496
- camel-platform-http-starter - align SpringBootPlatformHttpBinding multipart and path handling with the other HTTP bindings
- CAMEL-24487
- camel-ftp/sftp/mina-sftp/azure-files/smb: contain remote consumer operations within the configured directory
- CAMEL-24478
- camel-grpc - add a muteException consumer option
- CAMEL-24477
- camel-cxf - add a muteException consumer option
- CAMEL-24476
- camel-mina - add a muteException consumer option
- CAMEL-24460
- JSpecify: Make ProducerTemplate Body Parameters Nullable
- CAMEL-24437
- camel-oauth - authorization code flow sends no state, nonce or PKCE parameter
- CAMEL-24428
- camel-knative - add a muteException consumer option
- CAMEL-24422
- camel-docling: make message body input-source interpretation explicit and configurable
- CAMEL-24421
- camel-spring-redis: apply a configurable ObjectInputFilter to the default JDK serializer
- CAMEL-24390
- camel-mcp-server: export all tools via special tag
- CAMEL-24322
- camel-openai tool-calling via AiToolRegistry
- CAMEL-23397
- camel-openai: Support tool annotations/hints for returnDirect and safety classification
Task (5)
- CAMEL-24579
- DataFormat.marshal graph parameter should be @Nullable
- CAMEL-24572
- Use xtokenize as a language in the YAML DSL
- CAMEL-24549
- camel-google-storage: Use symlink-aware containment for local downloads
- CAMEL-24548
- camel-azure-storage: Use symlink-aware containment for local downloads
- CAMEL-24420
- camel-hazelcast: Apply the default JavaSerializationFilterConfig to Camel-built client configurations
Test (2)
- CAMEL-24469
- Crashed tests: org.apache.camel.dsl.jbang.core.common.PluginHelperTest on 4.22.x branch
- CAMEL-24458
- Cassandra Integration Tests are broken on s390x
Keys
You can verify your download by following these procedures and using these KEYS.