CVE-2026-40859
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDeserialization of Untrusted Data vulnerability in Apache Camel. The camel-vertx-http component deserializes HTTP response bodies carrying the Content-Type application/x-java-serialized-object using a raw java.io.ObjectInputStream, without applying any ObjectInputFilter (VertxHttpHelper.deserializeJavaObjectFromStream) This deserialization path is reached only when the producer endpoint is configured with transferException=true (or the component-level allowJavaSerializedObject=true) and throwExceptionOnFailure is left at its default value of true; in that case a backend HTTP response with a 5xx status and the application/x-java-serialized-object content type has its body deserialized with no class restrictions. An attacker who controls the backend the Camel producer talks to - through a man-in-the-middle position on an unencrypted (plain HTTP) connection, or by compromising the backend service - can return a crafted serialized Java object and, if a suitable gadget chain is present on the classpath, achieve remote code execution on the Camel application host. The path is not reachable in the default configuration, where transferException is false. 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.20.0. Users are recommended to upgrade to version 4.20.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. After upgrading, the deserialization performed by both helper utilities is constrained by a default ObjectInputFilter (allow-list java.**;javax.**;org.apache.camel.**;!*), which can be customised through the new deserializationFilter endpoint option or the JVM-wide -Djdk.serialFilter system property. For deployments that cannot upgrade immediately: do not enable transferException=true (or allowJavaSerializedObject=true) on producers that talk to untrusted or network-reachable backends; ensure producer connections use TLS (https) so that a response cannot be substituted by a man-in-the-middle; and, where the option is required, set an explicit -Djdk.serialFilter allow-list (for example java.**;org.apache.camel.**;!*) to constrain deserialization.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe camel-vertx-http component deserializes Java objects from HTTP responses using a raw ObjectInputStream without any class restrictions when transferException=true or allowJavaSerializedObject=true. An attacker controlling the backend or positioned as MITM can inject a malicious serialized Java object and achieve RCE if gadget chains exist on the classpath.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 4.0.0, < 4.14.8>= 4.15.0, < 4.18.3= 4.19.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify camel-vertx-http component usageSearch your codebase for Maven/Gradle dependencies containing 'camel-vertx-http', or grep for 'vertx-http://' in route definition files (XML, Java, YAML).Affected if The camel-vertx-http component is present in your project dependencies or used in route definitions.
-
Check Apache Camel versionInspect your build file (pom.xml, build.gradle) or the deployed camel-core JAR MANIFEST.MF to find the Apache Camel version.Affected if The version falls within >=4.0.0,<4.14.8 OR >=4.15.0,<4.18.3 OR equals 4.19.0.
-
Verify transferException configurationSearch route definitions and Camel context XML/YAML files for 'transferException=true' parameter on vertx-http endpoints.Affected if transferException=true is explicitly set on a vertx-http consumer or producer.
-
Verify allowJavaSerializedObject configurationSearch route definitions and Camel context files for 'allowJavaSerializedObject=true' parameter on vertx-http endpoints.Affected if allowJavaSerializedObject=true is set on any vertx-http endpoint.
-
Assess backend trust and TLS enforcementReview vertx-http endpoint URLs to determine if they connect to untrusted third-party backends and whether TLS/SSL is enforced on those connections.Affected if Endpoints connect to untrusted backends without TLS or the transferException/allowJavaSerializedObject options are enabled for untrusted connections.
You are affected if Apache Camel version is within the vulnerable ranges AND the camel-vertx-http component is used with transferException=true or allowJavaSerializedObject=true, especially when connecting to untrusted backends.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.14.84.18.3
Upgrade to Apache Camel 4.20.0 (or 4.14.8/4.18.3 for LTS streams) which adds a default ObjectInputFilter; alternatively, disable transferException/allowJavaSerializedObject for untrusted backends, enforce TLS, or set -Djdk.serialFilter.
Apache Camel 4.20.0 (or 4.14.8 for 4.14.x LTS, or 4.18.3 for 4.18.x releases)
- Identify your current Apache Camel version by checking your project dependencies or build configuration
- For Camel 4.14.x LTS releases: upgrade to version 4.14.8
- For Camel 4.15.x through 4.18.x releases: upgrade to version 4.18.3
- For Camel 4.19.x: upgrade to version 4.20.0
- For any other affected version (4.0.0+): upgrade to version 4.20.0
- After upgrading, verify the deserializationFilter endpoint option is available for fine-grained control if needed
- Test the upgrade in a non-production environment before deploying to production
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,152.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-40859 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-40859 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data