Read the docs
TI-2026-80293 Aliases CVE-2026-95664GHSA-2p39-5856-3v5v

Expression language injection in Apache Camel AWS2 S3 producer

Priority LOW 26CWE-917Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-917.

Summary

Apache Camel from 4.8.0 before 4.18.5 and from 4.19.0 before 4.22.2 is affected. The camel-aws2-s3 producer evaluates the CamelAwsS3Key header as a Simple expression when it contains a dollar sign followed by an opening brace, or the word simple followed by an opening brace, which a consumed object name can carry (CWE-917). An attacker who can name objects in a bucket that such a route consumes, typically an uploader, can read JVM properties, environment variables and configuration properties, or invoke bean methods where camel-bean is present.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

Description from the CNA

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. In a route that does nothing more than consume from one aws2-s3 endpoint and produce to another, the name of each consumed object therefore reached the producer, and a name containing either marker was evaluated as an expression, although the route author never asked for any evaluation, and configuring keyName on the producer did not prevent it, because the header took precedence. A key that a route copied into the header from other message content was evaluated in the same way. Anyone able to choose the name of an object in a bucket that such a route consumes, typically a principal allowed to upload to that bucket, could therefore have Simple expressions of their choosing evaluated in the Camel process. The Simple language can read JVM system properties, environment variables and configuration properties, which commonly carry credentials, and, where camel-bean is on the classpath, invoke methods on beans in the registry. The evaluated result became the key the producer used, so reading a value back additionally required the ability to see object names in the destination bucket, while a method invocation took effect without it; together with the need to name an object in a consumed bucket, this is why the severity is assessed medium. The bucket name went through the same evaluation, but the consumer only ever places the bucket configured on its own endpoint in a bucket header, never a value derived from a remote object, so the bucket name was not reachable in this way. Releases before 4.8.0 used the key from the header as given and are not affected. Users are recommended to upgrade to version 4.23.0, which fixes the issue. If users are on the 4.22.x releases stream, then they are suggested to upgrade to 4.22.2. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.5. The 4.8.x to 4.17.x and 4.19.x to 4.21.x release lines reached end of life before this issue was resolved and will not receive a fix, so deployments on them must move to a supported release. After upgrading, a key or bucket name supplied through a message header is used literally, so a route that put an unevaluated Simple expression in the CamelAwsS3Key or CamelAwsS3OverrideBucketName header must evaluate it in the route instead, for example with setHeader and simple(), or configure it as the keyName or bucketName option of the endpoint. For deployments that cannot upgrade immediately, do not let a key derived from an object name or from other untrusted message content reach an aws2-s3 producer unchecked: in routes that pass exchanges from an aws2-s3 consumer to an aws2-s3 producer, either remove the CamelAwsS3Key header before the producer with removeHeader(“CamelAwsS3Key”), so that the keyName configured on the endpoint is used, or reject exchanges whose CamelAwsS3Key header contains ${ or $simple{. Configuring keyName alone is not a workaround, because the header takes precedence over it. As defence in depth, allow only trusted principals to write to buckets that Camel routes consume.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00836 57th percentileScored 2026-11-07
Fix Partial Apache Camel (Apache Software Foundation): 4.18.5, 4.22.2Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Camel4.8.0 to before 4.18.5; 4.19.0 to before 4.22.24.18.5, 4.22.2Patch availableCNA
  • Apache Camel VendorApache Affected 4.8.0 to before 4.18.5; 4.19.0 to before 4.22.2 Fixed in 4.18.5, 4.22.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*4.8.0 to before 4.18.5; 4.19.0 to before 4.22.2VulnerableApache
  • cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:* Versions 4.8.0 to before 4.18.5; 4.19.0 to before 4.22.2 Vulnerable ·Apache

Remediation

Upgrade Apache Camel to 4.23.0, to 4.22.2 on the 4.22.x stream, or to 4.18.5 on the 4.18.x stream. The 4.8.x to 4.17.x and 4.19.x to 4.21.x lines are end of life and get no fix, so move them to a supported release. Red Hat lists no available fix plan for OpenShift Serverless, Red Hat build of Apache Camel 4 for Quarkus 3 and Red Hat build of Apache Camel for Spring Boot 4.

Written with Claude Haiku 5.5 from the sources below · 2026-11-02

  • Fix · CNA Apache Camel (Apache Software Foundation) Fixed in 4.18.5, 4.22.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache Camel 4.18.5, 4.22.2

    6 records Highest priority Priority MEDIUM 1 MEDIUM, 5 LOW

    Other records, highest priority first

    • TI-2026-80421 XML external entity resolution in Apache Camel XQuery evaluationPriority MEDIUM 40
    • TI-2026-80294 Apache Camel CoAP consumer leaks internal details in error responsesPriority LOW 31
    • TI-2026-80292 Apache Camel Keycloak policy accepts expired tokens from cachePriority LOW 30

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift ServerlessAffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel 4 for Quarkus 3AffectedNo fix yet: Fix deferred
Red Hat build of Apache Camel for Spring Boot 4AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Fuse 7

Timeline

  1. 2026-10-26 Threatist record created from CVE-2026-95664
  2. 2026-10-26 Priority changed: MEDIUM → LOW
  3. 2026-10-27 Alias added: GHSA-2p39-5856-3v5v
  4. 2026-10-29 EPSS moved to the 50th–90th percentile
  5. 2026-10-29 Affected versions changed · Red Hat
  6. 2026-10-29 CVSS score added · Red Hat
  7. 2026-10-30 Affected versions changed · Red Hat
  8. 2026-11-02 CVSS score added · CISA ADP
  9. 2026-11-02 CISA SSVC decision points changed

References

  • TI-2026-76322 Unsafe deserialization in Apache Camel camel-hazelcast CVSS 4.0CRITICAL 10.0
  • TI-2026-18973 Apache Camel: Camel-Keycloak: Cross-Realm Token Acceptance Bypass in KeycloakSecurityPolicy CVSS 3.1CRITICAL 9.1
  • TI-2026-76339 Path traversal in Apache Camel azure-files component CVSS 3.1CRITICAL 9.1
  • TI-2026-76330 Path traversal in Apache Camel FTP consumer escapes polled directory CVSS 3.1CRITICAL 9.1
  • TI-2025-20435 Apache Camel: Camel Message Header Injection via Improper Filtering CVSS 3.1MEDIUM 5.6
  • TI-2026-34899 Apache Camel: Camel-CXF Message Header Injection via Missing Inbound Filtering CVSS 3.1CRITICAL 9.8
See all 116 →

Sources