CVE-2026-85296
Apache Camel: Camel-AS2 Cross-Partner Signing Key Confusion via Shared Per-Request State
Description
Exposure of Data Element to Wrong Session vulnerability in Apache Camel AS2 component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
Signing material belonging to an individual request was stored in state that is shared across requests rather than confined to the request being processed. Where a deployment serves more than one trading partner, concurrent or successive requests could therefore observe each other's material, and a Message Disposition Notification could be signed with the key of a partner other than the one the receipt was for. The result is cross-partner key confusion: a receipt attributable to the wrong partner, and one partner's signing material used while handling another partner's exchange. AS2 deployments are typically multi-partner by design, so the condition is reached by ordinary concurrent traffic rather than by anything the attacker must arrange.
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. Per-request signing keys are now confined to the request being processed in ResponseMDN. For deployments that cannot upgrade immediately, run a separate Camel context per trading partner so that no signing material is shared between them.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-as2preliminary | >= 4.0.0, < 4.18.5>= 4.19.0, < 4.22.1 | 4.18.5, 4.22.1 |
Blast radius
13% of the dependent artifacts (5) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 251 |
| 2 hops | 682 |
| 3 hops | 124 |
| 4 hops | 107 |
| 5 hops | 306 |
| 6 hops | 9 |
Most used dependents
- org.apache.camel » camel-allcomponents16 usages
- org.apache.camel » camel-catalog-maven16 usages
- org.apache.camel » camel-jbang-core15 usages
- org.apache.camel » camel-catalog-lucene8 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
- org.apache.camel » camel-jbang-plugin-kubernetes3 usages
- org.apache.camel.quarkus » camel-quarkus-as23 usages
- org.apache.camel » camel-jbang-plugin-generate2 usages
- org.apache.camel » camel-jbang-plugin-test2 usages
- org.apache.camel » camel-catalog-maven-grape2 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-85296.html | camel.apache.org |
| Advisory | CVE record CVE-2026-85296 | github.com |
| Advisory | NVD CVE-2026-85296 | nvd.nist.gov |
| Fix | apache/camel pull request #25641 | github.com |
| Fix | apache/camel pull request #25869 | github.com |
| Fix | apache/camel pull request #25870 | github.com |
| Report | jira/browse/CAMEL-24429 | issues.apache.org |
| Web | maven2 | repo.maven.apache.org |
