/

CVE-2026-80344

Severity:

HIGH RISK

(8.2)

SSRF (CWE-918) in Apache Camel AS2 Messaging Component

CVE-2026-80344

Analyzed

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Internal Network Access and Credential Exposure

Severity:

HIGH RISK

(8.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Apache Camel's AS2 component contains a server-side request forgery vulnerability in asynchronous Message Disposition Notification delivery. A remote AS2 partner may influence the destination contacted by the Camel receiver, potentially reaching internal services and exposing credentials configured for receipt delivery.

Apache Camel's AS2 component contains a server-side request forgery vulnerability in asynchronous Message Disposition Notification delivery. A remote AS2 partner may influence the destination contacted by the Camel receiver, potentially reaching internal services and exposing credentials configured for receipt delivery.

Affected context

The issue occurs in Apache Camel deployments using the AS2 component to generate asynchronous Message Disposition Notifications. It becomes risky when the destination supplied in an inbound AS2 message is accepted without being constrained to deployment-approved partner endpoints, allowing outbound connections to attacker-selected hosts.

The issue occurs in Apache Camel deployments using the AS2 component to generate asynchronous Message Disposition Notifications. It becomes risky when the destination supplied in an inbound AS2 message is accepted without being constrained to deployment-approved partner endpoints, allowing outbound connections to attacker-selected hosts.

Exploit preconditions

  • Attack surface: The AS2 message-receiving endpoint and asynchronous MDN delivery workflow
  • Required access: Ability to act as or control an AS2 communication partner that can submit messages
  • Trigger point: Processing an inbound message that requests an asynchronous MDN
  • Why exploitation is possible: The receiver uses a sender-supplied destination without sufficiently restricting it to trusted, deployment-configured endpoints
  • Attack surface: The AS2 message-receiving endpoint and asynchronous MDN delivery workflow
  • Required access: Ability to act as or control an AS2 communication partner that can submit messages
  • Trigger point: Processing an inbound message that requests an asynchronous MDN
  • Why exploitation is possible: The receiver uses a sender-supplied destination without sufficiently restricting it to trusted, deployment-configured endpoints

Why this happens

The vulnerability results from trusting an externally supplied URI as the destination for a server-initiated outbound request. This behavior maps to CWE-918: Server-Side Request Forgery, because the application allows a remote party to influence where the server connects. The risk is increased when the outbound request includes credentials or can reach hosts accessible only from the deployment network.

The vulnerability results from trusting an externally supplied URI as the destination for a server-initiated outbound request. This behavior maps to CWE-918: Server-Side Request Forgery, because the application allows a remote party to influence where the server connects. The risk is increased when the outbound request includes credentials or can reach hosts accessible only from the deployment network.

Potential impact

  • The Camel instance may connect to internal or otherwise restricted network services
  • Cloud metadata or administrative endpoints could be probed where network access permits
  • Credentials configured for MDN delivery could be disclosed to an attacker-controlled destination
  • Internal services may receive unexpected requests from a trusted network location
  • The deployment's network segmentation and trust boundaries could be weakened
  • The Camel instance may connect to internal or otherwise restricted network services
  • Cloud metadata or administrative endpoints could be probed where network access permits
  • Credentials configured for MDN delivery could be disclosed to an attacker-controlled destination
  • Internal services may receive unexpected requests from a trusted network location
  • The deployment's network segmentation and trust boundaries could be weakened

General mitigation guidance

Mitigation focuses on constraining outbound request destinations and reducing trust in values supplied by external AS2 partners.

Common defensive patterns include:

  • Allowing asynchronous MDN delivery only to explicitly configured partner endpoints
  • Validating destinations against strict allowlists rather than accepting arbitrary hosts or schemes
  • Restricting outbound network connectivity from AS2 receivers to legitimate receipt-delivery endpoints
  • Avoiding credentials on MDN requests unless they are valid exclusively for the approved destination
  • Applying least privilege to network identities, service accounts, and outbound proxies
  • Using network-layer controls to block access to internal administration, metadata, and loopback services
  • Treating inbound destination fields as untrusted data and enforcing policy before initiating connections

Mitigation focuses on constraining outbound request destinations and reducing trust in values supplied by external AS2 partners.

Common defensive patterns include:

  • Allowing asynchronous MDN delivery only to explicitly configured partner endpoints
  • Validating destinations against strict allowlists rather than accepting arbitrary hosts or schemes
  • Restricting outbound network connectivity from AS2 receivers to legitimate receipt-delivery endpoints
  • Avoiding credentials on MDN requests unless they are valid exclusively for the approved destination
  • Applying least privilege to network identities, service accounts, and outbound proxies
  • Using network-layer controls to block access to internal administration, metadata, and loopback services
  • Treating inbound destination fields as untrusted data and enforcing policy before initiating connections

How teams detect issues like this

Organizations can look for this vulnerability through:

  • Static analysis rules identifying outbound HTTP client calls whose destinations derive from inbound message fields
  • Code review checks for missing URI allowlists, scheme restrictions, DNS and IP validation, or redirect controls
  • Tests that submit asynchronous MDN requests targeting internal, loopback, link-local, and unauthorized external destinations
  • Egress firewall and proxy policies that alert on AS2 receiver connections outside approved partner ranges
  • Network telemetry correlating AS2 inbound messages with unexpected outbound requests
  • Secret-use monitoring for MDN credentials presented to unapproved hosts
  • Automated security review tools that flag server-side request construction from untrusted input

Organizations can look for this vulnerability through:

  • Static analysis rules identifying outbound HTTP client calls whose destinations derive from inbound message fields
  • Code review checks for missing URI allowlists, scheme restrictions, DNS and IP validation, or redirect controls
  • Tests that submit asynchronous MDN requests targeting internal, loopback, link-local, and unauthorized external destinations
  • Egress firewall and proxy policies that alert on AS2 receiver connections outside approved partner ranges
  • Network telemetry correlating AS2 inbound messages with unexpected outbound requests
  • Secret-use monitoring for MDN credentials presented to unapproved hosts
  • Automated security review tools that flag server-side request construction from untrusted input

Sources

SourceLink
camel.apache.orgcamel.apache.org/security/CVE-2026-80344.html
github.comgithub.com/apache/camel/pull/25637
github.comgithub.com/apache/camel/pull/25763
github.comgithub.com/apache/camel/pull/25764
issues.apache.orgissues.apache.org/jira/browse/CAMEL-24417

Frequently asked

questions

Yes. A remote AS2 partner may be able to influence the asynchronous MDN destination through an inbound message, subject to the deployment's authentication and partner-access controls.

No direct host access is generally required. The relevant prerequisite is the ability to submit or influence an AS2 message accepted by the vulnerable receiver.

Constrain asynchronous MDN destinations to explicitly approved partner endpoints before making any outbound connection, and enforce matching network egress controls.

Avoid attaching credentials that are broadly valid, scope them to approved destinations where possible, and monitor outbound requests for attempts to reach unauthorized hosts.

Yes. A remote AS2 partner may be able to influence the asynchronous MDN destination through an inbound message, subject to the deployment's authentication and partner-access controls.

No direct host access is generally required. The relevant prerequisite is the ability to submit or influence an AS2 message accepted by the vulnerable receiver.

Constrain asynchronous MDN destinations to explicitly approved partner endpoints before making any outbound connection, and enforce matching network egress controls.

Avoid attaching credentials that are broadly valid, scope them to approved destinations where possible, and monitor outbound requests for attempts to reach unauthorized hosts.

Find out what's already
exploitable in your codebase.