CamelApplication · Apache

CVE-2026-56139

MEDIUM · 5.3 CVSS v3.1 Published 2026-07-06
Fix available
A fix is available. Upgrade to 4.14.8 / 4.18.3 or later.
See remediation →
62/100
Remediation priority · Elevated
Remotely reachable No privileges Zero-click 6 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Undertow Component. The camel-undertow HTTP server consumer exposes a muteException option that controls what is returned to the client when a route processing error occurs. This option defaulted to false, whereas the other Camel HTTP server components (camel-http / camel-jetty / camel-servlet and camel-platform-http) default it to true. With muteException=false, when a request triggers an exception during route processing the consumer writes the full Throwable stack trace into the HTTP response body as text/plain instead of returning an empty body. Any unauthenticated client that can reach the endpoint and cause a processing error - for example by sending a malformed request body, an invalid parameter, or otherwise triggering a route-internal failure - therefore receives a complete Java stack trace. Such a stack trace can disclose sensitive internal information, including credentials embedded in exception messages, internal host names and IP addresses, filesystem paths, dependency and version details, database and class names, and the application's internal structure, which an attacker can use to plan further attacks. In addition, for Rest DSL consumers the muteException option was not honoured at all: the RestUndertowHttpBinding was created with a hard-coded false, so the stack trace was returned even when muteException=true had been configured. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. For deployments that cannot upgrade immediately, set muteException=true explicitly on the camel-undertow consumer (for example undertow: http://0.0.0.0:8080/api?muteException=true , or globally via the camel.component.undertow.mute-exception=true property), so that processing errors no longer return the stack trace to the client; note that on affected releases this workaround does not cover Rest DSL consumers, whose binding ignores the option until the fix is applied.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The camel-undertow HTTP consumer defaults muteException to false (unlike other Camel HTTP components), causing full Java stack traces to be written to HTTP response bodies on processing errors, exposing sensitive internal information including credentials, hostnames, IP addresses, and application structure. Additionally, for Rest DSL consumers, muteException was not honored at all due to a hard-coded false in RestUndertowHttpBinding.

MitigationSet muteException=true explicitly on the camel-undertow consumer (e.g., ?muteException=true or camel.component.undertow.mute-exception=true property), or upgrade to 4.21.0/4.14.8/4.18.3 as appropriate. Note: the workaround does not cover Rest DSL consumers until the fix is applied.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
CamelApplication
Affected:>= 4.0.0, < 4.14.8>= 4.15.0, < 4.18.3>= 4.19.0, < 4.21.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify the installed Apache Camel version
    Inspect your project's Maven/Gradle dependencies, or check the Camel version reported in application startup logs, or run 'jar -tf' on the camel-core jar to find the version manifest
    Affected if the installed version falls within any of the affected ranges: >=4.0.0 and <4.14.8, or >=4.15.0 and <4.18.3, or >=4.19.0 and <4.21.0
  2. Confirm camel-undertow component is in use
    Search your project dependencies for 'camel-undertow' in pom.xml, build.gradle, or your application's classpath. Check Camel route definitions for 'undertow:' consumer endpoints
    Affected if the camel-undertow dependency is present and used in your routes
  3. Check muteException configuration on undertow consumers
    Inspect your Camel route definitions for undertow consumers. Look for 'muteException' parameter in the endpoint URI (e.g., '?muteException=true') or in the component configuration property 'camel.component.undertow.mute-exception'
    Affected if muteException is not explicitly set to 'true' on the undertow consumer (the vulnerable default is 'false')
  4. Check for Rest DSL consumers using undertow
    Inspect your Camel route definitions for Rest DSL configurations using the undertow component. Look for rest() DSL blocks with 'to('undertow:...')' or undertow as the rest component
    Affected if you use Rest DSL with the undertow component regardless of muteException setting (the binding hardcodes muteException=false)

You are affected if you run a vulnerable Camel version (4.0.0-4.14.7, 4.15.0-4.18.2, or 4.19.0-4.20.x) AND use the camel-undertow component without explicitly setting muteException=true on your consumers.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.14.8 / 4.18.3 / 4.21.0 or later
Fixed in 4.14.84.18.34.21.0
Interim mitigation

Set muteException=true explicitly on the camel-undertow consumer (e.g., ?muteException=true or camel.component.undertow.mute-exception=true property), or upgrade to 4.21.0/4.14.8/4.18.3 as appropriate. Note: the workaround does not cover Rest DSL consumers until the fix is applied.

Recommended fix High confidence

4.21.0 (or 4.14.8 for 4.14.x LTS stream, or 4.18.3 for 4.18.x stream)

  1. Identify the current Apache Camel version in use by checking project dependencies or Camel runtime configuration
  2. Determine which release stream you are on: 4.14.x LTS, 4.18.x, or 4.19.x/4.20.x
  3. If on 4.14.x LTS stream: upgrade Apache Camel to version 4.14.8
  4. If on 4.18.x stream: upgrade Apache Camel to version 4.18.3
  5. If on 4.19.x or 4.20.x stream: upgrade Apache Camel to version 4.21.0
  6. After upgrading, verify that the muteException option defaults to true and that Rest DSL consumers properly honor the setting
  7. Test that error responses no longer expose stack traces to clients
  8. Alternatively, if immediate upgrade is not possible, configure muteException=true on the undertow consumer endpoint (e.g., undertow:http://0.0.0.0:8080/api?muteException=true) or set camel.component.undertow.mute-exception=true globally; note this workaround does not cover Rest DSL consumers until the fix is applied
Caveat Review the Apache Camel release notes for the target version to check for any breaking changes in your integration

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Camel Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-56139 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-56139 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data