CVE-2013-4330 Improper Control of Generation of Code in Apache Camel
Remote attackers can execute arbitrary code by injecting expressions into message headers in Apache Camel file or FTP producers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-4330?
CVE-2013-4330 is a medium-severity code injection vulnerability in Apache Camel, published on 4 Oct 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arbitrary simple language expressions by including "$simple{}" in a CamelFileName message header to a (1) FILE or (2) FTP producer.
Weakness: CWE-94
Which versions are affected by CVE-2013-4330?
8 open source packages ship an affected version, including org.apache.camel:camel-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.camel:camel-core Maven | All versions | 2.9.7 |
org.apache.camel:camel-core Maven | All versions | 2.9.7 |
org.apache.camel:camel-core Maven | From 2.10.0 | 2.10.7 |
org.apache.camel:camel-core Maven | From 2.10.0 | 2.10.7 |
org.apache.camel:camel-core Maven | From 2.11.0 | 2.11.2 |
org.apache.camel:camel-core Maven | From 2.11.0 | 2.11.2 |
2 more packages
org.apache.camel:camel-core Maven | From 2.12.0 | 2.12.1 |
org.apache.camel:camel-core Maven | From 2.12.0 | 2.12.1 |
Products include Apache Camel.
How do I fix CVE-2013-4330?
Upgrade org.apache.camel:camel-core to a fixed version for your release line: 2.9.7, 2.10.7, 2.11.2 or 2.12.1.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2013-4330 being exploited?
There is no known exploitation of CVE-2013-4330 in the wild and no public exploit code.
Other vulnerabilities in Apache Camel
- CVE-2026-33453 Apache camel-coap allows header injection that can lead to remote code execution
- CVE-2026-40453 Apache Camel has an incomplete fix for CVE-2025-27636
- CVE-2026-80351 Apache Camel K: Camel K Tenant repositories reach Maven execution inside operator pod
- CVE-2026-80352 Apache Camel K: Camel K Master trait serviceAccountName YAML injection lets CR author apply arbitrary objects
- CVE-2026-71300 Apache Camel: Camel-Atmosphere-Websocket: WebSocket dispatch header injection
Sources
Also known as GHSA-x9fv-c87w-55wc.