Maven
CVE-2026-95664
Apache Camel: Camel-AWS2-S3 Producer Evaluates Untrusted S3 Object Keys From the CamelAwsS3Key Header as Simple Expressions
- Severity
- Medium 5.4
- Published
- 26 Oct 2026
- Last changed
- 2 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.18.5, 4.22.2
- Exploit chance
- 0.9% in the next 30 daysHigher than 59% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N- Sources
- CVE Program
Description
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerability in Apache Camel AWS2-s3 component.
This issue affects Apache Camel: from 4.8.0 before 4.18.5, from 4.19.0 before 4.22.2.
For the object it uploads, reads or deletes, the camel-aws2-s3 producer takes the key from the CamelAwsS3Key message header and falls back to the keyName option configured on the endpoint only when that header is absent. Since 4.8.0, AWS2S3Utils.determineKey() also passed the resulting value to the Simple language whenever it contained ${ or $simple{, so that a route could use a dynamic key, and the evaluation applied to a value taken from the header as well as to the configured option. The header is not route configuration, however: the aws2-s3 consumer sets CamelAwsS3Key on the exchanges it creates to the key of the object it read, that is, the name of the object in the bucket.
Affected software
| Software | Affected versions |
|---|---|
org.apache.camel:camel-aws2-s3Maven · osv:Maven:org.apache.camel:camel-aws2-s3 |
|
About org.apache.camel:camel-aws2-s3
This is the only vulnerability in org.apache.camel:camel-aws2-s3 in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-95664