# Apache Camel-Infinispan Component Vulnerable to Deserialization of Untrusted Data

Advisory record · `GHSA-4xwx-hvv7-7prj`

- **Identifiers:** `GHSA-4xwx-hvv7-7prj` · `CVE-2026-40858`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-502](https://cwe.mitre.org/data/definitions/502.html)
- **Tags:** [Insecure deserialization](https://agentprime.io/advisories/tag/deserialization.md)
- **Published:** 27 Apr 2026
- **Updated:** 5 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Apr 2026, 12:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.camel:camel-infinispan` (Maven): affected `>=4.0.0, <4.14.7 || >=4.15.0, <4.18.2 || >=4.19.0, <4.20.0`; fixed in `4.14.7`, `4.18.2`, `4.20.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Camel's camel-infinispan component, versions 4.0.0 before 4.14.7, 4.15.0 before 4.18.2, and 4.19.0 before 4.20.0, deserializes data read from a remote Infinispan cache with java.io.ObjectInputStream and no ObjectInputFilter. An attacker who can write to the cache used by the Camel application could inject a crafted serialized object that, when read during aggregation repository operations, runs arbitrary code in the application. Upgrade to 4.20.0, 4.14.7, or 4.18.2 depending on your release stream.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 70th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:20 UTC: First seen by agentprime
- 31 Oct 2026, 14:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4xwx-hvv7-7prj)

## Sources

- [GitHub Advisory Database: GHSA-4xwx-hvv7-7prj](https://github.com/advisories/GHSA-4xwx-hvv7-7prj)
- [OSV: GHSA-4xwx-hvv7-7prj](https://osv.dev/vulnerability/GHSA-4xwx-hvv7-7prj)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40858>
- <https://github.com/apache/camel/pull/22152>
- <https://github.com/apache/camel/pull/22151>
- <https://github.com/apache/camel/pull/22150>
- <https://github.com/apache/camel/pull/22149>
- <https://github.com/apache/camel/pull/22148>
- <https://github.com/apache/camel/pull/22147>
- <https://github.com/apache/camel/pull/22146>
- <https://github.com/apache/camel/commit/e074c01a719cccf3b1c2efbd2ff31e60fd6220ce>
- <https://github.com/apache/camel/commit/5c20de8f047de725e0b32a874cdb5108c3e46558>
- <https://github.com/apache/camel/commit/540d48e1cb5e492bd1c74bfc5a6e929fcf24fe3b>
- <https://github.com/apache/camel/commit/3926ab2b7745e36da2cd8e0dc019018bc415aff9>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4xwx-hvv7-7prj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4xwx-hvv7-7prj/>. Everything for agents: <https://agentprime.io/llms.txt>.
