Deserialization of Untrusted Data in Apache Camel - CVE-2026-40859
Published: August 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to deserialization of untrusted data in VertxHttpHelper.deserializeJavaObjectFromStream when processing a backend HTTP response with a 5xx status and the Content-Type application/x-java-serialized-object while transferException is enabled. A remote attacker can return a crafted serialized Java object to execute arbitrary code.
Exploitation requires control of the backend service or a man-in-the-middle position on an unencrypted connection, and a suitable gadget chain must be present on the classpath.