Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-85296 Overview
CVE-2026-85296 is an Exposure of Data Element to Wrong Session vulnerability [CWE-488] in the Apache Camel AS2 component. The flaw affects Apache Camel versions 4.0.0 through 4.18.4 and 4.19.0 through 4.22.0. Per-request signing material in the AS2 Message Disposition Notification (MDN) handler was stored in state shared across requests rather than scoped to the request being processed. In multi-partner deployments, concurrent or successive requests can observe each other's signing keys. The result is cross-partner key confusion, where an MDN receipt may be signed with the key of a trading partner other than the one the receipt is intended for.
Critical Impact
Signing keys belonging to one AS2 trading partner can be used to sign Message Disposition Notifications sent to another partner, producing receipts attributable to the wrong partner under ordinary concurrent traffic.
Affected Products
- Apache Camel 4.0.0 through 4.18.4
- Apache Camel 4.19.0 through 4.22.0
- Apache Camel AS2 component (camel-as2)
Discovery Timeline
- 2026-10-19 - CVE-2026-85296 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-85296
Vulnerability Analysis
The Apache Camel AS2 component implements the Applicability Statement 2 (AS2) protocol for business-to-business messaging. AS2 requires receivers to return a signed Message Disposition Notification (MDN) that acknowledges receipt of an inbound message using the appropriate partner's signing material.
In affected releases, the signing key associated with a given inbound request was placed into state that persisted beyond the lifetime of that request. When the ResponseMDN logic subsequently generated an MDN, it could read signing material left behind by another in-flight or recently completed exchange. Because AS2 deployments typically serve several trading partners through a single endpoint, this condition is reached by normal concurrent traffic rather than any attacker-controlled sequencing.
The confidentiality impact is a leak of signing material across partner boundaries. The integrity impact is a receipt that identifies the wrong signing identity, which can undermine non-repudiation guarantees that AS2 is specifically designed to provide.
Root Cause
The root cause is improper scoping of request-bound data. Signing keys that should be confined to a single AS2 exchange were stored in shared mutable state within the AS2 server components, violating the request-isolation contract. This maps to CWE-488 (Exposure of Data Element to Wrong Session). The upstream fix, tracked in CAMEL-24429 and merged through pull requests #25641, #25869, and #25870, confines per-request signing keys to the request being processed in ResponseMDN.
Attack Vector
Exploitation does not require authentication or user interaction and occurs over the network. No crafted payload is needed. Any multi-partner AS2 deployment handling concurrent traffic can observe the condition. An observer who receives an MDN signed with another partner's key gains access to signing material or evidence of signature misuse that was not intended for them.
The vulnerability is described in prose only. See the Apache Camel CVE-2026-85296 Advisory and Apache JIRA Issue CAMEL-24429 for upstream technical details.
Detection Methods for CVE-2026-85296
Indicators of Compromise
- MDN receipts received by a trading partner that are signed with a certificate or key belonging to a different partner.
- Log entries in the AS2 receiver showing signing-key selection that does not match the recipient partner identifier for a given exchange.
- Partner-reported signature validation failures correlated in time with high-concurrency AS2 traffic windows.
Detection Strategies
- Compare the From/AS2-From headers of outbound MDNs with the signing certificate thumbprint used to sign the MDN; alert on any mismatch.
- Instrument the AS2 pipeline to log the signing key identifier used by ResponseMDN alongside the originating request's partner identifier for post-hoc correlation.
- Review Apache Camel route logs for AS2 endpoints running affected versions 4.0.0 through 4.18.4 or 4.19.0 through 4.22.0.
Monitoring Recommendations
- Monitor AS2 endpoints for concurrent request volume, since the condition surfaces under multi-partner concurrency.
- Enable audit logging of all MDN signing operations, including the partner identifier, key identifier, and request correlation ID.
- Track partner-side signature verification outcomes and treat recurring cross-partner mismatches as high-priority investigations.
How to Mitigate CVE-2026-85296
Immediate Actions Required
- Inventory all Apache Camel deployments and identify any using the camel-as2 component in affected version ranges.
- Upgrade to Apache Camel 4.23.0, or to 4.18.5 for the 4.18.x LTS stream, or to 4.22.1 for the 4.22.x LTS stream.
- Rotate signing keys for all AS2 trading partners served by vulnerable deployments, since cross-partner exposure cannot be ruled out retroactively.
- Notify affected trading partners and reconcile MDN receipts received during the exposure window.
Patch Information
Apache Camel 4.23.0 contains the fix, with backports to 4.18.5 and 4.22.1 for the long-term support streams. The remediation confines per-request signing keys to the request being processed within ResponseMDN. Refer to the Apache Camel CVE-2026-85296 Advisory, GitHub Pull Request #25641, GitHub Pull Request #25869, and GitHub Pull Request #25870 for the complete change set.
Workarounds
- Run a separate Camel context per trading partner so that no signing material is shared between partners within the same JVM state.
- Where feasible, deploy a dedicated AS2 receiver instance per partner behind a routing proxy keyed on AS2-To to eliminate shared state at the process level.
- Reduce AS2 endpoint concurrency as a short-term risk reduction while patching is scheduled, recognizing that this limits throughput and does not eliminate the flaw.
# Configuration example: upgrade Apache Camel AS2 dependency to a fixed release
# Maven (pom.xml)
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-as2</artifactId>
<version>4.23.0</version>
</dependency>
# For 4.18.x LTS deployments
# <version>4.18.5</version>
# For 4.22.x LTS deployments
# <version>4.22.1</version>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

