Apache Camel: Camel-AS2 Cross-Partner MDN Credential and Allow-List Confusion via Shared Per-Port Server Connection

Summary

CVECVE-2026-114367
StatePUBLISHED
Assignerapache
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 12:18:00 UTC
Updated2026-12-03 12:18:00 UTC
DescriptionExposure of Resource to Wrong Sphere vulnerability in Apache Camel AS2 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. camel-as2 keeps one server connection per listening port and builds it from the first endpoint configured on that port. The signing and decrypting material was already selected per request path, but the credentials used to authenticate an asynchronous Message Disposition Notification (mdnUserName, mdnPassword, mdnAccessToken) and the asyncMdnAllowedHosts list were taken from that first endpoint for every consumer on the port. Where a deployment serves several trading partners on one port under different request paths, the receipt for a message sent to another partner's path was therefore delivered with the first partner's credentials, to a sender-chosen address constrained only by the first partner's allow-list, while the other consumer's own credentials and allow-list were ignored without any warning. 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. Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS releases stream should upgrade to 4.22.3; users on the 4.18.x LTS releases stream should upgrade to 4.18.6. AS2 consumers that share a port now deliver asynchronous MDNs with their own credentials and allowed-host list. For deployments that cannot upgrade immediately, run one listening port per trading partner (a separate Camel context in the same JVM shares the per-port server connection and does not isolate them), or configure the MDN credentials and asyncMdnAllowedHosts only on the first consumer of a port when every consumer on that port belongs to the same partner. The camel-4.14.x line reached end of life before this fix and does not receive it.

Risk And Classification

Primary CVSS: v3.1 6.5 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Problem Types: CWE-668 | CWE-668 CWE-668 Exposure of Resource to Wrong Sphere


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary6.5MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
3.1CNACVSS6.5MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Apache Software Foundation Apache Camel affected 4.0.0 4.18.6 maven Not specified
CNA Apache Software Foundation Apache Camel affected 4.19.0 4.22.3 maven Not specified
CNA Apache Software Foundation Apache Camel affected 4.23.0 4.24.0 maven Not specified

References

ReferenceSourceLinkTags
issues.apache.org/jira/browse/CAMEL-25918 [email protected] issues.apache.org
github.com/apache/camel/pull/28348 [email protected] github.com
github.com/apache/camel/pull/28347 [email protected] github.com
github.com/apache/camel/pull/28274 [email protected] github.com
camel.apache.org/security/CVE-2026-114367.html [email protected] camel.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Shashank Mohan Jain (en)

CNA: Andrea Cosentino (en)

Additional Advisory Data

Solutions

CNA: 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.

Workarounds

CNA: Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS releases stream should upgrade to 4.22.3; users on the 4.18.x LTS releases stream should upgrade to 4.18.6. AS2 consumers that share a port now deliver asynchronous MDNs with their own credentials and allowed-host list. For deployments that cannot upgrade immediately, run one listening port per trading partner (a separate Camel context in the same JVM shares the per-port server connection and does not isolate them), or configure the MDN credentials and asyncMdnAllowedHosts only on the first consumer of a port when every consumer on that port belongs to the same partner. The camel-4.14.x line reached end of life before this fix and does not receive it.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report