{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-120397",
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "state": "PUBLISHED",
        "assignerShortName": "apache",
        "dateReserved": "2026-11-02T09:31:25.383Z",
        "datePublished": "2026-12-03T12:14:01.964Z",
        "dateUpdated": "2026-12-03T12:14:01.964Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache",
                "dateUpdated": "2026-12-03T12:14:01.964Z"
            },
            "title": "Apache Camel: Camel-Mina synchronous producer can return a previous request's reply to a later exchange when disconnectOnNoReply is false",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-488 Exposure of Data Element to Wrong Session",
                            "lang": "en",
                            "cweId": "CWE-488",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "affected": [
                {
                    "vendor": "Apache Software Foundation",
                    "product": "Apache Camel",
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "packageName": "org.apache.camel:camel-mina",
                    "packageURL": "pkg:maven/org.apache.camel/camel-mina",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.0.0",
                            "lessThan": "4.18.6",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "4.19.0",
                            "lessThan": "4.22.3",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "4.23.0",
                            "lessThan": "4.24.0",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "value": "Exposure of Data Element to Wrong Session vulnerability in Apache Camel Mina component.\n\n\n\nThis 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.\n\n\n\nA 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.\n\n\n\nUpgrade 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.",
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>Exposure of Data Element to Wrong Session vulnerability in Apache Camel Mina component.</p><p>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.</p><p>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.</p><p>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.</p>"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://camel.apache.org/security/CVE-2026-120397.html",
                    "name": "Apache Camel Security Advisory - CVE-2026-120397",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://issues.apache.org/jira/browse/CAMEL-26488",
                    "name": "CAMEL-26488",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/28865",
                    "name": "Fix on main, released in 4.24.0 (commit e45558b86144)",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/28887",
                    "name": "Backport to camel-4.22.x, released in 4.22.3 (commit bd54ee955e39)",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/apache/camel/pull/28888",
                    "name": "Backport to camel-4.18.x, released in 4.18.6 (commit 334989e6e055)",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "metrics": [
                {
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "HIGH",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "NONE",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 6.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
                    }
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "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.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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.</p>"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Shashank Mohan Jain",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Andrea Cosentino",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 1.0.3"
            }
        }
    }
}