CVE-2026-85247
Apache Camel: Camel-Knative Improper Certificate Validation When SSL Is Enabled Without a Truststore
Description
Improper Certificate Validation vulnerability in Apache Camel Knative component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
When SSL was enabled on the Knative HTTP client but no truststore was configured, the client options fell back to trusting every presented certificate rather than to the JVM's default trust anchors. A deployment that switched TLS on without also configuring a truststore therefore obtained an encrypted connection with no peer authentication, which an attacker positioned on the network path can terminate and read. The dangerous state is reached by omission rather than by an explicit opt-in, which is what makes it a framework defect: turning TLS on should not be the thing that turns certificate validation off.
Upgrade to Apache Camel 4.23.0, which fixes the issue. Users on the 4.18.x LTS releases stream should upgrade to 4.18.5. Users on the 4.22.x LTS releases stream should upgrade to 4.22.1. With no truststore configured the trust options are now left unset so the JVM default trust anchors apply, the same fallback SSLContextParameters and the rest of Camel use. Trusting every certificate is now reached only by asking for it explicitly through the trust.all property, which remains available for development against a cluster with a self-signed certificate. For deployments that cannot upgrade immediately, configure a truststore explicitly wherever SSL is enabled. After upgrading, a deployment that was relying on the implicit trust-all behaviour must either configure a truststore or set the trust.all property deliberately.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-knativepreliminary | >= 4.0.0, < 4.18.5>= 4.19.0, < 4.22.1 | 4.18.5, 4.22.1 |
Blast radius
33% of the dependent artifacts (19) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 322 |
| 2 hops | 872 |
| 3 hops | 306 |
| 4 hops | 106 |
| 5 hops | 301 |
| 6 hops | 9 |
Most used dependents
- org.apache.camel.quarkus » camel-quarkus-knative19 usages
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel.quarkus » camel-quarkus-knative-consumer16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel.quarkus » camel-quarkus-knative-producer15 usages
- org.apache.camel.k » camel-k-knative-impl12 usages
- org.apache.camel » camel-catalog-lucene8 usages
- org.apache.camel » camel-knative-http7 usages
- org.apache.camel » camel-route-parser7 usages
- org.apache.camel » camel-kamelet-main5 usages
- org.apache.camel » apache-camel5 usages
- io.kaoto.forage » integration-tests-common5 usages
- org.apache.camel » camel-catalog-console3 usages
- org.apache.camel » camel-report-maven-plugin3 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | security/CVE-2026-85247.html | camel.apache.org |
| Advisory | CVE record CVE-2026-85247 | github.com |
| Advisory | NVD CVE-2026-85247 | nvd.nist.gov |
| Fix | apache/camel pull request #25824 | github.com |
| Fix | apache/camel pull request #25944 | github.com |
| Fix | apache/camel pull request #25946 | github.com |
| Report | jira/browse/CAMEL-24443 | issues.apache.org |
| Web | maven2 | repo.maven.apache.org |
