Skip to content
Info disclosure Write-up Beginner

[CVE-2026–56139] Apache Camel Undertow Component — Sensitiv

The camel-undertow component defaulted its muteException option to false, so exceptions thrown during route processing were returned to clients as full stack traces. Additionally, the Rest DSL binding hardcoded the flag to false, so even operators who set it to true still leaked stack traces. An attacker could send malformed input to trigger exceptions and harvest internal paths, hostnames, credentials and library versions.

WhitGuidance Follow

Published on medium.com

Field Detail CVE ID : CVE-2026–56139 Classification : CWE-209 (Generation of Error Message Containing Sensitive Information) Affected component : camel-undertow (Apache Camel) Affected versions: 4.0.0–4.14.7 / 4.15.0–4.18.2 / 4.19.0–4.20.x Fixed in : 4.14.8 / 4.18.3 / 4.21.0 Disclosed : 2026–07–06

WhitGuidance, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the muteException flag defaulted to false in camel-undertow, and the Rest DSL binding class hardcoded it to false regardless of user configuration.

Impact

An attacker could obtain stack traces revealing credential fragments, internal hostnames, private IP ranges, filesystem paths and library versions, which shortens the path to further exploitation; the text notes this is not remote code execution by itself.

What the attacker needed

Camel-undertow endpoint reachable; route logic can be made to throw

The fix

Upgrading to a fixed release (4.14.8, 4.18.3 or 4.21.0) addresses the root cause; setting muteException to true helps normal routes but not the Rest DSL path.

How it was found

  1. Send a request that triggers an exception inside the route logic, such as a malformed body or a missing parameter.
  2. Read the full stack trace returned in the response body.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When a web application hits an unexpected error, it can either show a vague error or dump the whole technical error message. This component chose the second option by default, so anyone sending bad input could see internal details such as file paths and database error text. A second code path ignored the setting entirely, so even careful configuration did not help.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by WhitGuidance

View all

40 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.