# Improper Control of Generation of Code in Apache Camel

Advisory record · `GHSA-x9fv-c87w-55wc`

- **Identifiers:** `GHSA-x9fv-c87w-55wc` · `CVE-2013-4330`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 13 May 2022
- **Updated:** 6 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 May 2022, 01:26 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.camel:camel-core` (Maven): affected `<2.9.7 || >=2.10.0, <2.10.7 || >=2.11.0, <2.11.2 || >=2.12.0, <2.12.1`; fixed in `2.9.7`, `2.10.7`, `2.11.2`, `2.12.1`

## Machine-written summary

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

> Apache Camel's camel-core package, versions before 2.9.7, 2.10.0 through 2.10.6, 2.11.0 through 2.11.1, and 2.12.0, is vulnerable. A remote attacker who can send a message to a FILE or FTP producer can execute arbitrary simple language expressions by placing a crafted value in the CamelFileName header. Upgrade camel-core to 2.9.7, 2.10.7, 2.11.2, 2.12.1, or later.

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

No source has published a CVSS score for this record yet.

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

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-x9fv-c87w-55wc)

## Sources

- [GitHub Advisory Database: GHSA-x9fv-c87w-55wc](https://github.com/advisories/GHSA-x9fv-c87w-55wc)
- [OSV: GHSA-x9fv-c87w-55wc](https://osv.dev/vulnerability/GHSA-x9fv-c87w-55wc)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-4330>
- <https://github.com/apache/camel/commit/2281b1f365c50ee1a470fb9990b753eadee9095>
- <https://github.com/apache/camel/commit/27a9752a565fbef436bac4fcf22d339e3295b2a>
- <https://github.com/apache/camel/commit/3215fe50dd42c83a7a454dd36486843fe36eae4>
- <https://github.com/apache/camel/commit/5ba8f63f78f82b0cddf6cecbf59ac444a0cae2a6>
- <https://github.com/apache/camel/commit/ce19353f1297c5d3dc59be21a1ead89c0a44907>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/87542>
- <https://github.com/apache/camel>
- <https://issues.apache.org/jira/browse/CAMEL-6748>
- <https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf%40%3Ccommits.camel.apache.org%3E>
- <https://lists.apache.org/thread.html/2318d7f7d87724d8716cd650c21b31cb06e4d34f6d0f5ee42f28fdaf@%3Ccommits.camel.apache.org%3E>
- <https://lists.apache.org/thread.html/b4014ea7c5830ca1fc28edd5cafedfe93ad4af2d9e69c961c5def31d%40%3Ccommits.camel.apache.org%3E>

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-x9fv-c87w-55wc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-x9fv-c87w-55wc/>. Everything for agents: <https://agentprime.io/llms.txt>.
