# Apache Camel: Camel Message Header Injection via Improper Filtering

Advisory record · `GHSA-2c2h-2855-mf97`

- **Identifiers:** `GHSA-2c2h-2855-mf97` · `CVE-2025-27636`
- **State:** Confirmed
- **Severity:** CVSS 5.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-178](https://cwe.mitre.org/data/definitions/178.html)
- **Tags:** [CWE-178](https://agentprime.io/advisories/tag/cwe-178.md)
- **Published:** 9 Mar 2025
- **Updated:** 25 Mar 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Mar 2025, 15:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.camel:camel-support` (Maven): affected `>=3.10.0, <3.22.4 || >=4.0.0-M1, <4.8.5 || >=4.9.0, <4.10.2`; fixed in `3.22.4`, `4.8.5`, `4.10.2`

## 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

- 5.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`, from ADP (CISA-ADP)

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

## Timeline

- 31 Oct 2026, 15:11 UTC: First seen by agentprime
- 31 Oct 2026, 15:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-2c2h-2855-mf97)

## Sources

- [GitHub Advisory Database: GHSA-2c2h-2855-mf97](https://github.com/advisories/GHSA-2c2h-2855-mf97)
- [OSV: GHSA-2c2h-2855-mf97](https://osv.dev/vulnerability/GHSA-2c2h-2855-mf97)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27636>
- <https://github.com/apache/camel/commit/23a833eec6131a3cdce6e4b1b40b3ac2035b6adf>
- <https://github.com/apache/camel/commit/45a6b74f7f8af8fd58f197566938a9534392a624>
- <https://camel.apache.org/security/CVE-2025-27636.html>
- <https://github.com/akamai/CVE-2025-27636-Apache-Camel-PoC/blob/main/src/main/java/com/example/camel/VulnerableCamel.java>
- <https://github.com/apache/camel>
- <https://github.com/apache/camel/blob/camel-4.9.0/core/camel-support/src/main/java/org/apache/camel/support/DefaultHeaderFilterStrategy.java>
- <https://issues.apache.org/jira/browse/CAMEL-21828>
- <https://lists.apache.org/thread/l3zcg3vts88bmc7w8172wkgw610y693z>
- <http://www.openwall.com/lists/oss-security/2025/03/09/1>

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-2c2h-2855-mf97>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2c2h-2855-mf97/>. Everything for agents: <https://agentprime.io/llms.txt>.
