Reliance on Untrusted Inputs in a Security Decision Affecting org.apache.camel:camel-core package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (23rd 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-21429450
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-85312  (opens in a new tab)
CWE-807  (opens in a new tab)

How to fix?

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

Overview

org.apache.camel:camel-core is a powerful open source integration framework based on known Enterprise Integration Patterns with powerful bean integration.

Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the getCurrentSagaCoordinator function in the SagaProcessor component. In deployments using a saga service that consults the Long-Running-Action header, including those running sagas over an LRA coordinator, an attacker can make an inbound exchange join a long-running saga started by another participant by supplying a forged header when the exchange has no internal saga ID, causing the request and its compensation to be associated with an action the sender did not initiate. The header is outside Camel’s namespace, so consumer header filters do not block it.

Notes

  • The header-to-coordinator lookup matters in deployments using an LRA coordinator for cross-participant saga joining; without that protocol, there is no external coordinator to join.

Workarounds

  • On every consumer that accepts messages from an untrusted sender, strip the Long-Running-Action header with removeHeaders("Long-Running-Action") to prevent inbound messages from selecting a saga coordinator.

CVSS Base Scores

version 4.0
version 3.1