CVE-2026-101259Apache Camel sensitive information in error messages
CVSS score
5.3
Medium
CVSS 3.1 from apache.org
Exploit probability (EPSS)
0.56%
0.56% chance of exploitation in the next 30 days, higher than 47.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Check whether you're affected
Find every system running Apache Camel and compare its version with the affected versions.
Update to a fixed version
- Update Apache Camel to 4.18.5, 4.22.2 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected products
| Affected products | Versions |
|---|---|
| Apache Camel | ≥ 4.0.0, < 4.18.5 · ≥ 4.19.0, < 4.22.2 |
| Apache Apache Camel | ≥ 4.0.0, < 4.18.5 · ≥ 4.19.0, < 4.22.2 |
Weakness
- CWE-209 sensitive information in error messages
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-101259 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-101259?
CVE-2026-101259 has a CVSS 3.1 base score of 5.3 (medium).
Which versions are affected?
Apache Camel (≥ 4.0.0, < 4.18.5; ≥ 4.19.0, < 4.22.2), Apache Apache Camel (≥ 4.0.0, < 4.18.5; ≥ 4.19.0, < 4.22.2)
Is there a patch for CVE-2026-101259?
The official record links to vendor advisories or patches; see “What to do” above.
References
- camel.apache.org/security/CVE-2026-101259.html(Vendor Advisory)
- github.com/apache/camel/pull/26994(Issue Tracking, Patch)
- github.com/apache/camel/pull/27046(Issue Tracking, Patch)
- github.com/apache/camel/pull/27048(Issue Tracking, Patch)
- issues.apache.org/jira/browse/CAMEL-25087(Issue Tracking, Vendor Advisory)
- camel.apache.org/security/CVE-2026-84180.html(Not Applicable)
- camel.apache.org/security/CVE-2026-85246.html(Not Applicable)
- camel.apache.org/security/CVE-2026-85257.html(Not Applicable)
- camel.apache.org/security/CVE-2026-85315.html(Not Applicable)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.