GHSA-hjg2-f45w-c566
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend malformed HTTP request to undertow endpoint
-
DeliveryTrigger route processing exception
-
ExploitReceive text/plain stack trace in HTTP 500 response
-
ExecutionExtract credentials, hostnames, and version strings
-
PersistIdentify exploitable internal targets
-
ImpactExecute targeted follow-on attack
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK
1 technique across 1 tactic: Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable application must be using the camel-undertow HTTP server consumer specifically - deployments using camel-http, camel-jetty, camel-servlet, or camel-platform-http are not affected. The attacker must be able to send HTTP requests to the endpoint and trigger a route-internal processing exception, which is achievable by sending malformed request bodies, invalid parameters, missing required headers, or any input that causes a route failure; no authentication is required (PR:N per CVSS assessment). The secondary bypass condition - where muteException=true is silently ignored - applies specifically to Rest DSL routes backed by camel-undertow on all affected versions, regardless of explicit operator configuration, making those consumers fully exposed even when administrators believe they have applied the configuration workaround. Exploitation is bounded to information disclosure; the vulnerability provides no mechanism for code execution, data modification, or denial of service through this vector alone. |
| Impact | Real-world risk is moderate and principally a reconnaissance enabler rather than a direct data-exfiltration or execution primitive. The attack vector is fully remote and requires no authentication or privileges (consistent with an estimated AV:N/AC:L/PR:N/UI:N vector), making the vulnerability reachable by any client with network access to an exposed undertow endpoint. However, the confidentiality impact is partial: stack traces reveal internal class names, dependency versions, filesystem paths, internal hostnames and IP addresses, database identifiers, and - critically - any credentials or tokens embedded in exception messages by application code. These signals materially lower the cost of follow-on attacks. The severity label of 'moderate' from the Apache project is consistent with an estimated CVSS 3.1 base score around 5.3, anchored entirely on C:L with no integrity or availability impact. No CVSS vector was assigned by NVD, no EPSS probability is available, and the CVE does not appear in the CISA KEV catalog - indicating no confirmed active exploitation at time of analysis. The Rest DSL bypass is the more operationally dangerous facet: operators who explicitly set muteException=true believing they had mitigated the issue on Rest DSL routes remained fully exposed, creating a false-mitigation condition that may have persisted undetected in production environments. EPSS data is absent and POC status is unknown, so exploitation prevalence cannot be quantified. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a deliberately malformed HTTP POST to a camel-undertow endpoint - for example, supplying an invalid JSON body or an unexpected content-type that causes a deserialization failure in the Camel route. The server responds with HTTP 500 and a text/plain body containing the complete Java stack trace, including embedded database connection strings, internal service hostnames, and the application's dependency versions. The attacker parses this output to identify exploitable internal services, outdated libraries with known CVEs, or plaintext credentials, then pivots to a targeted follow-on attack against those systems. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Information disclosure in Apache Camel's camel-undertow HTTP server consumer (versions 4.0.0 through 4.21.0) exposes complete Java stack traces to unauthenticated HTTP clients whenever a route processing exception occurs, due to a misconfigured default and a code-level bypass. Unlike every other Camel HTTP server component (camel-http, camel-jetty, camel-servlet, camel-platform-http), all of which default muteException to true, camel-undertow defaulted this option to false - and for Rest DSL consumers the option was silently ignored entirely due to a hard-coded false in RestUndertowHttpBinding, meaning muteException=true gave false confidence without actual protection. No public exploit has been identified at time of analysis; however exploitation requires only the ability to send a malformed HTTP request to a reachable endpoint, making this trivially accessible to any network-level attacker.
RemediationAI
Upgrade to a patched release: 4.21.0 for the main line, 4.18.3 for the 4.18.x stream, or 4.14.8 for the 4.14.x LTS stream, as documented at https://camel.apache.org/security/CVE-2026-56139.html. For deployments that cannot upgrade immediately, set muteException=true explicitly on each camel-undertow consumer - either via the URI parameter (e.g., undertow:http://0.0.0.0:8080/api?muteException=true) or globally via the property camel.component.undertow.mute-exception=true. This workaround carries a critical limitation: it does NOT protect Rest DSL consumers on affected versions, because RestUndertowHttpBinding ignores the option until the code fix is applied. Additionally, flipping muteException to true changes observable behaviour for routes that use transferException=true to pass serialized exception objects to callers, since muteException takes precedence - operators relying on transferException semantics in camel-undertow routes must verify behaviour after patching. No network-layer workaround (firewall, WAF rule) is sufficient because any valid processing error, including those triggered by legitimate clients, will leak the stack trace.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Camel is a widely-deployed Java integration framework built on Enterprise Integration Patterns, used to route and transform messages between systems. The camel-undertow component provides an HTTP server consumer backed by JBoss Undertow. The vulnerability is a classic CWE-209 (Generation of Error Message Containing Sensitive Information) defect: when a Camel route throws an exception during request processing, the consumer serializes the full Java Throwable stack trace - including all chained causes - as a text/plain HTTP response body. The inconsistency relative to other Camel HTTP components arises because camel-undertow's muteException option defaulted to false rather than true at both the component and endpoint levels. A second, more severe defect exists specifically in RestUndertowHttpBinding, the class that handles Rest DSL route bindings: it was instantiated with a hard-coded false for the mute-exception flag, meaning any explicitly configured muteException=true on a Rest DSL consumer was silently discarded at the binding layer. The fix, merged in GitHub PR apache/camel#23913 and backported to 4.18.x and 4.14.x, aligns the undertow default with the other components and corrects the RestUndertowHttpBinding constructor to honour the configured value.
Know when Camel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Network-reachable HTTP endpoint requires no authentication (PR:N, AV:N, AC:L), but impact is limited to partial information disclosure (C:L) with no integrity or availability consequence.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Blast Radius
ecosystem impact- 6 maven packages depend on org.apache.camel:camel-undertow (4 direct, 2 indirect)
Ecosystem-wide dependent count for version 4.0.0.
Articles & Coverage 5
Executive ViewAI
Apache Camel's undertow HTTP server component (versions 4.0.0-4.21.0) discloses complete Java stack traces to unauthenticated attackers through exception handling, exposing system architecture, dependencies, and configuration details that enable reconnaissance for further attacks. The vulnerability exists by default in all affected versions with no patch currently available. Organizations using Camel in this version range face immediate information disclosure risk across their entire deployed infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Explicitly set muteException=true in all camel-undertow and Rest DSL route configurations; (2) Implement network-level filtering or Web Application Firewall rules to reject malformed HTTP requests before reaching Camel; (3) Apply network segmentation to restrict access to Camel HTTP endpoints to trusted clients only; (4) Monitor HTTP error logs for patterns of malformed requests targeting Camel endpoints; (5) Review endpoint access controls and disable any publicly exposed undertow consumers. Continue monitoring Apache Camel project for patch release.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Bypass/Injection vulnerability in Apache Camel components under particular conditions.10.0 through <= 4.10.1, from 4.8.0
The XSLT component in Apache Camel before 2.11.4 and 2.12.x before 2.12.3 allows remote attackers to read arbitrary file
Apache Camel's Jackson and JacksonXML unmarshalling operation are vulnerable to Remote Code Execution attacks. Rated cri
The XSLT component in Apache Camel 2.11.x before 2.11.4, 2.12.x before 2.12.3, and possibly earlier versions allows remo
Cross-realm token acceptance bypass in Apache Camel Keycloak security policy. The KeycloakSecurityPolicy fails to proper
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSeria
Unsafe Java deserialization in the Apache Camel camel-mina component (versions 3.0.0 through 4.14.5, 4.15.0 through 4.18
Apache Camel's File is vulnerable to directory traversal. Rated high severity (CVSS 7.5), this vulnerability is remotely
The camel-castor component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-se
The camel-xstream component in Apache Camel before 2.15.5 and 2.16.x before 2.16.1 allow remote attackers to execute arb
The camel-hessian component in Apache Camel 2.x before 2.19.4 and 2.20.x before 2.20.1 is vulnerable to Java object de-s
Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arb
EUVD-2026-41851
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB