CVE-2026-85312
Apache Camel: Camel-Core Saga Participation Hijacking via the Unfiltered Long-Running-Action Header
Description
Improper Input Validation vulnerability in Apache Camel Core component.
This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.1.
The saga processor consulted a header named Long-Running-Action to decide which saga an exchange belonged to. The name carries no Camel prefix, so it sits outside the namespace that consumer header filters block, and an external sender could supply it on an inbound message. That let the sender name the saga the exchange joined, attaching their request to a long-running action started by someone else, or causing compensation to be associated with an action they did not initiate. The header is only consulted by a saga service that uses it, which bounds the exposure to deployments running sagas over an LRA coordinator.
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. The header is now consulted only for a saga service that actually uses it, rather than on every exchange. For deployments that cannot upgrade immediately, strip the header at the trust boundary with removeHeaders("Long-Running-Action") on every consumer that accepts messages from an untrusted sender.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.camel » camel-corepreliminary | >= 4.0.0, < 4.18.5>= 4.19.0, < 4.22.1 | 4.18.5, 4.22.1 |
Blast radius
59% of the dependent artifacts (197) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,695 |
| 2 hops | 3,206 |
| 3 hops | 637 |
Most used dependents
- org.apache.camel » camel-maven-plugin305 usages
- org.alfresco » alfresco-repository121 usages
- io.kaoto.forage » forage-core-common86 usages
- org.alfresco » alfresco-remote-api67 usages
- io.kaoto.forage » forage-core-ai35 usages
- org.fcrepo.camel » fcrepo-camel31 usages
- org.apache.camel » camel-api-component-maven-plugin21 usages
- org.apache.activemq » apache-activemq15 usages
- io.kaoto.forage » forage-jdbc-common13 usages
- io.kaoto.forage » forage-core-vectordb12 usages
- io.kaoto.forage » forage-core-jdbc11 usages
- org.citrusframework » citrus-camel10 usages
- com.ozonehis » eip-commons9 usages
- io.openremote » openremote-manager7 usages
- io.kaoto.forage » forage-spring-boot-common7 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
- Webhttps://repo.maven.apache.org/maven2
- Advisoryhttps://camel.apache.org/security/CVE-2026-85312.html
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85312.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-85312
- Reporthttps://issues.apache.org/jira/browse/CAMEL-24449
- Fixhttps://github.com/apache/camel/pull/25828
- Fixhttps://github.com/apache/camel/pull/25940
- Fixhttps://github.com/apache/camel/pull/25942
