CVE-2026-101259: Apache Camel CoAP: error responses leak internal details

MEDIUM
Published October 26, 2026
CISO Take

Apache Camel's camel-coap component can return internal error details to remote CoAP clients when it fails to build a response after a route completes. The leaked data includes class and package names, file paths, host names and backend connection detail. The flaw is a medium-severity information disclosure (CVSS 5.3, CWE-209) that needs no authentication. It only triggers if a route's completed response can be made unconvertible by a remote client, so real exposure depends on how each route is written. There is no KEV listing, no public exploit, no Nuclei template and no EPSS score, so near-term exploitation likelihood looks low, and the package is a generic integration library with only a loose link to AI. Upgrade to 4.23.0, 4.22.2 or 4.18.5. The new muteException option defaults to true, so the upgrade alone fixes it. Deployments on end-of-life lines (4.14 and earlier, 4.15-4.17, 4.19-4.21) must move to a supported release.

Sources:NVDcamel.apache.orgATLAS

What is the risk?

Low to medium. The attack is network-reachable, needs no privileges or user interaction and has low complexity, but it yields only low-confidentiality impact. The route must let a client cause a conversion failure, which narrows real-world exposure. The data leaked can support reconnaissance for follow-on attacks. No active exploitation, KEV listing, public exploit or scanner template is known, and no EPSS score is available. Where Camel connects AI services, this is a minor concern.

How does the attack unfold?

Reconnaissance
The attacker discovers an exposed CoAP endpoint served by a Camel route.
AML.T0006
Exploitation
The attacker sends input that makes the completed route response unconvertible to byte[] or to the header types.
AML.T0049
Information Disclosure
Camel returns a 5.00 response whose payload carries exception details such as class names, file paths and backend connection detail.
Impact
The attacker uses the leaked internal detail to map the environment and plan follow-on attacks on backend services.

What systems are affected?

PackageEcosystemVulnerable RangePatched
org.apache.camel:camel-coap——No patch

Do you use org.apache.camel:camel-coap? You're affected.

How severe is it?

CVSS 3.1
5.3 / 10
EPSS
0.3%
chance of exploitation in 30 days
Higher than 28% of all CVEs
Exploitation Status
No known exploitation
Sophistication
Trivial

What is the attack surface?

AVACPRUISCIA
AVNetwork
ACLow
PRNone
UINone
SUnchanged
CLow
INone
ANone

What should I do?

1 step
  1. Upgrade to Apache Camel 4.23.0, or to 4.22.2 on the 4.22.x stream or 4.18.5 on the 4.18.x stream. The muteException consumer option defaults to true in the fixed releases, so no extra configuration is needed. Move off end-of-life lines (4.14.x and earlier, 4.15.x-4.17.x, 4.19.x-4.21.x), which will not be patched. If you cannot upgrade right away, convert the body to byte[] or String as the last step of each coap route (for example with convertBodyTo), set the CamelCoapMaxAge and CamelCoapETag headers only to values of their own types, and add an onException handler that marks the failure handled and sets the response body explicitly. For detection, look for CoAP 5.00 responses with non-empty payloads and for repeated malformed requests to CoAP endpoints. Inventory routes that consume from coap endpoints.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

ISO 42001
A.6.2.6-AI system operation and monitoring
NIST AI RMF
MANAGE 2.3-Response to previously unknown risks

Frequently Asked Questions

What is CVE-2026-101259?

Apache Camel's camel-coap component can return internal error details to remote CoAP clients when it fails to build a response after a route completes. The leaked data includes class and package names, file paths, host names and backend connection detail. The flaw is a medium-severity information disclosure (CVSS 5.3, CWE-209) that needs no authentication. It only triggers if a route's completed response can be made unconvertible by a remote client, so real exposure depends on how each route is written. There is no KEV listing, no public exploit, no Nuclei template and no EPSS score, so near-term exploitation likelihood looks low, and the package is a generic integration library with only a loose link to AI. Upgrade to 4.23.0, 4.22.2 or 4.18.5. The new muteException option defaults to true, so the upgrade alone fixes it. Deployments on end-of-life lines (4.14 and earlier, 4.15-4.17, 4.19-4.21) must move to a supported release.

Is CVE-2026-101259 actively exploited?

No confirmed active exploitation of CVE-2026-101259 has been reported, but organizations should still patch proactively.

How to fix CVE-2026-101259?

Upgrade to Apache Camel 4.23.0, or to 4.22.2 on the 4.22.x stream or 4.18.5 on the 4.18.x stream. The muteException consumer option defaults to true in the fixed releases, so no extra configuration is needed. Move off end-of-life lines (4.14.x and earlier, 4.15.x-4.17.x, 4.19.x-4.21.x), which will not be patched. If you cannot upgrade right away, convert the body to byte[] or String as the last step of each coap route (for example with convertBodyTo), set the CamelCoapMaxAge and CamelCoapETag headers only to values of their own types, and add an onException handler that marks the failure handled and sets the response body explicitly. For detection, look for CoAP 5.00 responses with non-empty payloads and for repeated malformed requests to CoAP endpoints. Inventory routes that consume from coap endpoints.

What systems are affected by CVE-2026-101259?

This vulnerability affects the following AI/ML architecture patterns: IoT and edge data ingestion pipelines, Enterprise integration pipelines feeding ML services, Event-driven AI orchestration.

What is the CVSS score for CVE-2026-101259?

CVE-2026-101259 has a CVSS v3.1 base score of 5.3 (MEDIUM). The EPSS exploitation probability is 0.34%.

What is the AI security impact?

Affected AI Architectures

IoT and edge data ingestion pipelinesEnterprise integration pipelines feeding ML servicesEvent-driven AI orchestration

MITRE ATLAS Techniques

AML.T0006Active Scanning
AML.T0049Exploit Public-Facing Application

Compliance Controls Affected

ISO 42001: A.6.2.6
NIST AI RMF: MANAGE 2.3

What are the technical details?

Original Advisory

Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel CoAP component. This issue affects Apache Camel: from 4.0.0 before 4.18.5, from 4.19.0 before 4.22.2. When the CoAP consumer could not build its response once the route had completed, CamelCoapResource caught the resulting exception and sent its message back to the CoAP client as the payload of a 5.00 Internal Server Error response. The typical case is a type conversion failure: the consumer converts the final message body to the byte[] payload, and the CamelCoapMaxAge and CamelCoapETag headers to their types, after the route has returned, and therefore outside the route's error handler. On the affected releases the message of such a failure names the class of the value being converted, carries the value's string form, and ends with the class name and message of the underlying cause, so a remote CoAP client could read internal detail about the deployment: class and package names, the string form of the value, such as the path of a file body, and whatever the cause carries, which in practice can include paths, host names and connection detail of a backend. The consumer had no option to suppress this, unlike the HTTP consumers, which offer a muteException option for that purpose. The exception raised by a failing route was not sent: the consumer did not check whether the exchange had failed, and answered a route failure with 2.05 Content and whatever body the message held at that point. Reaching the disclosure therefore requires a route whose completed response a remote client can make unconvertible, which depends on how the route is written. Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.14.x releases stream and earlier, and the 4.15.x to 4.17.x and 4.19.x to 4.21.x release lines, reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. The upgrade is enough on its own: the new muteException consumer option defaults to true on all three fixed release lines, so the error response carries no payload without any configuration change. For deployments that cannot upgrade immediately, make sure the response can always be built once the route has completed: convert the body to byte[] or String as the last step of each route that consumes from a coap endpoint, for example with convertBodyTo, give the CamelCoapMaxAge and CamelCoapETag headers only values of their own types, and add an onException handler that marks the failure as handled and sets the response body explicitly, so that a conversion failure is raised and replaced inside the route rather than in the consumer.

Exploitation Scenario

An attacker finds an internet-exposed CoAP endpoint served by a Camel route that ingests IoT or sensor data for an ML pipeline. They send crafted requests that make the completed response unconvertible, for example by influencing a body, a CamelCoapMaxAge header or a CamelCoapETag header. Camel returns a 5.00 Internal Server Error whose payload names Java classes, file paths, internal host names and backend connection detail. The attacker uses this to map the internal architecture and plan further attacks against model-serving or data-store backends.

Weaknesses (CWE)

CWE-209 — Generation of Error Message Containing Sensitive Information: The product generates an error message that includes sensitive information about its environment, users, or associated data.

  • [Implementation] Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success. If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files. Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.
  • [Implementation] Handle exceptions internally and do not display errors containing potentially sensitive information to a user.

Source: MITRE CWE corpus.

CVSS Vector

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

Timeline

Published
October 26, 2026
Last Modified
October 26, 2026
First Seen
October 26, 2026

Related Vulnerabilities