Exposure of Data Element to Wrong Session Affecting org.apache.camel:camel-as2-api package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-21427928
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-85296  (opens in a new tab)
CWE-488  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-as2-api to version 4.18.5, 4.22.1 or higher.

Overview

Affected versions of this package are vulnerable to Exposure of Data Element to Wrong Session via the ResponseMDN handler in the AS2 component. In a deployment serving multiple trading partners with dynamic per-request keys, ordinary concurrent or successive AS2 requests can cause ResponseMDN to reuse signing material loaded from another request’s HttpContext, so an MDN for one partner’s exchange is signed with another partner’s private key. This misattributes the receipt and uses one partner’s signing material for another partner’s exchange; it does not disclose the private key.

Workarounds

  • Run a separate Camel context for each trading partner to prevent signing material from being shared across partners.

CVSS Base Scores

version 4.0
version 3.1