CVE-2026-49365: Apache Camel Netty HTTP - Information Disclosure
- Cve: CVE-2026-49365
- Name: Apache Camel Netty HTTP - Information Disclosure
- Description: Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Netty HTTP component. The camel-netty-http 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 because the backing field was an uninitialised primitive boolean (Java's default of 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 (via DefaultNettyHttpBinding) 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. 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-netty-http consumer (for example netty-http: http://0.0.0.0:8080/api?muteException=true , or globally via the camel.component.netty-http.configuration.mute-exception=true property), so that processing errors no longer return the stack trace to the client.
- Impact: Unauthenticated attackers can obtain sensitive internal information from stack traces, aiding further attacks and reconnaissance.
- Remediation: Upgrade to versions 4.14.8, 4.18.3, or 4.21.0 as appropriate, or set muteException=true to prevent stack trace disclosure.
- Vulnerability type: information_disclosure
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00574
- Epss percentile: 0.48079
- Assignee: [email protected]
- Published at: 2026-07-06T09:16:38Z
- Age in days: 141
- Modified at: 2026-07-09T03:04:17Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49365
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-209 | Generation of Error Message Containing Sensitive Information |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/oscerd/CVE-2026-49365 | poc-in-github | 2026-07-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://camel.apache.org/security/CVE-2026-49365.html | nvd | Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/07/05/25 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:camel | >= 4.19.0, < 4.21.0; >= 4.15.0, < 4.18.3; >= 4.0.0, < 4.14.8 | no | nvd | /v1/products/apache/camel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/camel | commit, package, pull, releases | yes | /v1/repositories/apache/camel |
Index
- Repositories: 3
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-07-21
- Remote: yes
- Exposed hosts: 135968
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports