{"id":"CVE-2026-49365","published":"2026-07-06T08:11:49Z","modified":"2026-07-07T12:34:51Z","title":"Apache Camel: Camel-Netty-HTTP: The muteException consumer option defaulted to false, so a processing error returned…","vendor":"Apache","product":"Apache Camel","tier":"tail","description":{"text":"Generation of Error Message Containing Sensitive Information vulnerability in Apache Camel Netty HTTP component.\n\nThe 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.\nThis 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.\n\nUsers 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00574,"percentile":0.48317,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-49365.html","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/05/25","tags":[]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":9.66},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-07-21","earliestUrl":"https://github.com/oscerd/CVE-2026-49365","repos":[{"name":"oscerd/CVE-2026-49365","url":"https://github.com/oscerd/CVE-2026-49365","stars":0,"created":"2026-07-21"}]},"first":{"date":"2026-07-21","source":"PoC-in-GitHub","url":"https://github.com/oscerd/CVE-2026-49365"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Camel","versions":[">= 4.0.0, < 4.14.8",">= 4.15.0, < 4.18.3",">= 4.19.0, < 4.21.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-07T12:34:23.255778Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.camel:camel-netty-http","vulnerableRanges":[">=4.0.0, <4.14.8",">=4.15.0, <4.18.3",">=4.19.0, <4.21.0"],"patched":["4.14.8","4.18.3","4.21.0"],"from":["GHSA-42q5-xw42-xf9g"],"provenance":"source"}],"summary":{"text":"Apache Camel's camel-netty-http HTTP server consumer defaults its muteException option to false, so when a route processing error occurs it writes the full Java stack trace into the HTTP response body instead of returning an empty body. An unauthenticated remote client that can reach the endpoint and trigger a processing error, such as by sending a malformed body or invalid parameter, can receive that stack trace, which may expose internal details like embedded credentials, host names, file paths and dependency information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:30Z"},"euvd":{"id":"EUVD-2026-41846","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-camel-cve-2025-30177","parents":[{"from":"CVE-2026-40859","to":"CVE-2026-49365","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.camel:camel-netty-http","fromFixed":"4.20.0","toFixed":"4.21.0","daysApart":0},{"kind":"same-code","provenance":"machine","files":["catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json","components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json","components/camel-netty-http/src/main/java/org/apache/camel/component/netty/http/NettyHttpConfiguration.java","dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java"],"commits":["https://github.com/apache/camel/commit/04019cf90a4b09e263d2df4ad4cacea85a9d72ee","https://github.com/apache/camel/commit/a3835afef108fef9eaf04165faed91784889407f","https://github.com/apache/camel/commit/6cea553aa42ed1326ac57ad800d66674bc453932","https://github.com/apache/camel/commit/b1badb58a407e4d16c8b6bba81650d4c68e55eaf"],"basis":"shared function","functions":["NettyHttpConfiguration"]}]}],"children":[{"from":"CVE-2026-49365","to":"CVE-2026-78329","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowEndpoint.java"],"commits":["https://github.com/apache/camel/commit/6cea553aa42ed1326ac57ad800d66674bc453932","https://github.com/apache/camel/commit/b1badb58a407e4d16c8b6bba81650d4c68e55eaf","https://github.com/apache/camel/commit/0484842201ed53fb52f3223f9b698868644f5b6f","https://github.com/apache/camel/commit/1574902d79cc5d36a2e618f7470bf0cba005d5e5"],"basis":"shared function","functions":["UndertowEndpoint"]}]}],"packageHistory":[{"cve":"CVE-2026-40859","published":"2026-07-06","fixed":"4.20.0","kev":false},{"cve":"CVE-2026-42527","published":"2026-07-06","fixed":"4.21.0","kev":false},{"cve":"CVE-2026-49365","published":"2026-07-06","fixed":"4.21.0","kev":false}],"package":"Maven:org.apache.camel:camel-netty-http"}}