Technical impact
This vulnerability is an expression language injection issue in the Camel-AWS2-S3 component. The producer incorrectly evaluates values from the CamelAwsS3Key header as Simple language expressions. An attacker who can control the name of an object read from an AWS bucket can supply a header containing a Simple expression that is then executed by the Camel process. The Simple engine can read JVM system properties, environment variables, and configuration values, and when camel-bean is on the classpath can invoke bean methods, providing a path to information disclosure or potential code execution. The impact is limited to the application context and requires the attacker to have the ability to name objects in a bucket that the route consumes, but if granted can read sensitive data or influence the Camel workflow.
Affected Systems
The issue affects Apache Camel 4.8.0 through 4.18.4, 4.19.0 through 4.22.1, and earlier pre-4.8.0 releases are not vulnerable. All releases in the 4.8.x-4.17.x and 4.19.x-4.21.x ranges reached end of life and do not receive a fix, so deployments on those lines must migrate to a supported release such as 4.22.2, 4.18.5, or 4.23.0 and newer.
Risk and Exploitability
The CVSS base score is 5.4, indicating medium risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to have write or naming rights to objects in a bucket that a Camel route consumes. Once that privilege exists, the attack vector is an internal injection: the attacker causes a Simple expression to be evaluated within the Camel process, which can read system or environment information or invoke bean methods if available. Because it relies on trusted AWS permissions and internal message headers, the likelihood of widespread automated exploitation is low, but the potential for privileged information disclosure or manipulation of the Camel workflow is significant if unmitigated.