Deserialization of Untrusted Data in Apache Camel - CVE-2026-40859

 

Deserialization of Untrusted Data in Apache Camel - CVE-2026-40859

Published: August 24, 2026


Vulnerability identifier: #VU144712
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40859
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Apache Camel

How to mitigate CVE-2026-40859

Install security update from vendor's website.

Apache Camel - addressed in versions 4.15.0, 4.19.0, 4.20.0

External References

Related Security Bulletins