CVE-2026-120397: Apache Camel: Camel-Mina synchronous producer can return a previous request's reply to a later exchange when disconnectOnNoReply is false

Published Dec 3, 2026
·
Updated

Exposure of Data Element to Wrong Session vulnerability in Apache Camel Mina component.

This issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.

A synchronous camel-mina producer (sync=true) keeps a single, uncorrelated response handler and latch per producer, and a sync producer is pooled and reused across exchanges. When the non-default disconnectOnNoReply=false is configured, a producer whose request has timed out keeps its session open and is reused by a later exchange, so a reply the remote peer delivers after the timeout can be accepted by that later exchange as its own successful result, returning one caller's reply to a different caller. The default configuration (disconnectOnNoReply=true) closes the timed-out session before reuse and is not affected.

Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Affected Software

1 affected component
Apache Camel-Mina>=4.0.0<4.18.6, >=4.19.0<4.22.3, >=4.23.0<4.24.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.24.0
  2. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.18.6
  3. Upgrade

    Upgrade Apache Camel to a version that resolves this vulnerability.

    Fixed in 4.22.3
  4. Configuration

    Set disconnectOnNoReply to true to close timed-out sessions before reuse.

    Apache Camel Mina disconnectOnNoReply = true

Event History

Dec 3, 2026
CVE Published
via MITRE·12:14 PM
Data Sourced
via MITRE·12:14 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Affected deployments use the Apache Camel Mina component with a synchronous producer (sync=true) and explicitly configure disconnectOnNoReply=false. The default setting, disconnectOnNoReply=true, is not affected because it closes a timed-out session before the producer is reused.

2

What conditions are required for a reply to be sent to the wrong caller?

A request must time out while its session remains open, after which the pooled synchronous producer is reused for a later exchange. If the remote peer then delivers the earlier request's delayed reply, Camel can accept it as the later exchange's successful response.

3

What should teams do if they cannot upgrade immediately?

Set or retain disconnectOnNoReply=true for synchronous Camel-Mina producers so timed-out sessions are closed before reuse. This prevents the affected reuse path described for disconnectOnNoReply=false.

4

Which fixed versions are available?

Upgrade to Apache Camel 4.24.0. For supported LTS streams, upgrade to 4.22.3 on 4.22.x or 4.18.6 on 4.18.x.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203