CVE-2026-95664

Media (5.4)—PoC
Seguimiento normalGravedad Media 5.4. Existe una prueba de concepto pública, pero no se conoce explotación activa.
Gravedad5.4Media · CVSS 3.1
Probabilidad de explotación0.84 %mayor que el 58 % de las CVE · dato del 17 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 17 nov, 17:00
Exploit públicoDisponiblePrueba de concepto en GitHub (no verificada)

Neutralización inadecuada de elementos especiales utilizados en una sentencia de Expression Language ('Expression Language Injection') en el componente AWS2-s3 de Apache Camel.

Este problema afecta a Apache Camel: desde la 4.8.0 hasta anterior a la 4.18.5, y desde la 4.19.0 hasta anterior a la 4.22.2.

Para el objeto que sube, lee o elimina, el productor de camel-aws2-s3 toma la clave del encabezado de mensaje CamelAwsS3Key y recurre a la opción keyName configurada en el endpoint solo cuando ese encabezado está ausente.

Leer descripción completaMostrar menos

Desde la 4.8.0, AWS2S3Utils.determineKey() también pasaba el valor resultante al lenguaje Simple siempre que contuviera ${ o $simple{, para que una ruta pudiera usar una clave dinámica, y la evaluación se aplicaba tanto a un valor tomado del encabezado como a la opción configurada. Sin embargo, el encabezado no es configuración de la ruta: el consumidor aws2-s3 establece CamelAwsS3Key en los exchanges que crea con la clave del objeto que leyó, es decir, el nombre del objeto en el bucket. En una ruta que solo consume de un endpoint aws2-s3 y produce a otro, el nombre de cada objeto consumido llegaba, por tanto, al productor, y un nombre que contuviera cualquiera de los dos marcadores se evaluaba como expresión, aunque el autor de la ruta nunca había solicitado ninguna evaluación; además, configurar keyName en el productor no lo impedía, porque el encabezado tenía prioridad. Una clave que una ruta copiara en el encabezado a partir de otro contenido del mensaje se evaluaba de la misma forma. Cualquiera que pudiera elegir el nombre de un objeto en un bucket que consume dicha ruta, normalmente un principal autorizado a subir archivos a ese bucket, podría lograr que se evaluaran en el proceso de Camel expresiones Simple de su elección. El lenguaje Simple puede leer propiedades de la JVM, variables de entorno y propiedades de configuración, que habitualmente contienen credenciales, y, cuando camel-bean está en el classpath, invocar métodos de beans del registro. El resultado evaluado se convertía en la clave que usaba el productor, por lo que leer un valor de vuelta requería además la capacidad de ver nombres de objetos en el bucket de destino, mientras que una invocación de método surtía efecto sin ello; junto con la necesidad de nombrar un objeto en un bucket consumido, esta es la razón por la que la severidad se valora como media. El nombre del bucket pasaba por la misma evaluación, pero el consumidor solo coloca en un encabezado de bucket el bucket configurado en su propio endpoint, nunca un valor derivado de un objeto remoto, por lo que el nombre del bucket no era accesible de este modo. Las versiones anteriores a la 4.8.0 usaban la clave del encabezado tal cual y no se ven afectadas.

Se recomienda a los usuarios actualizar a la versión 4.23.0, que corrige el problema. Si los usuarios están en la rama de publicaciones 4.22.x, se les sugiere actualizar a la 4.22.2. Si están en la rama 4.18.x, se les sugiere actualizar a la 4.18.5. Las líneas de publicación 4.8.x a 4.17.x y 4.19.x a 4.21.x alcanzaron el fin de su vida útil antes de que este problema se resolviera y no recibirán corrección, por lo que las implantaciones que las utilicen deben migrar a una versión soportada. Tras la actualización, una clave o un nombre de bucket suministrado mediante un encabezado de mensaje se utiliza literalmente, por lo que una ruta que haya colocado una expresión Simple sin evaluar en el encabezado CamelAwsS3Key o CamelAwsS3OverrideBucketName debe evaluarla en la ruta, por ejemplo con setHeader y simple(), o configurarla como opción keyName o bucketName del endpoint. En las implantaciones que no puedan actualizarse de inmediato, no permita que una clave derivada de un nombre de objeto o de otro contenido de mensaje no confiable llegue a un productor aws2-s3 sin comprobar: en las rutas que pasan exchanges desde un consumidor aws2-s3 a un productor aws2-s3, elimine el encabezado CamelAwsS3Key antes del productor con removeHeader("CamelAwsS3Key"), de modo que se utilice la opción keyName configurada en el endpoint, o rechace los exchanges cuyo encabezado CamelAwsS3Key contenga ${ o $simple{. Configurar únicamente keyName no constituye una medida de mitigación, porque el encabezado tiene prioridad sobre ella. Como defensa en profundidad, permita solo a principales de confianza escribir en los buckets que consumen las rutas de Camel.

Traducción automática del texto original de NVD (en inglés).

Cronología

Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.

  1. Registro CVE publicado en NVD
  2. Primer exploit público
  3. Última modificación del registro en NVD

Exploits públicos

Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.

⚠️ Las pruebas de concepto de GitHub no están verificadas: algunas son falsas o contienen malware. No las ejecute nunca fuera de un laboratorio aislado.

Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vector AV:N/PR:L/UI:N implica T1210; el nombre del objeto se evalúa como Simple, que lee propiedades y variables de entorno con credenciales y puede invocar beans.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

Registro NVD

Estado en NVD
Analizada
Publicada
26 oct 2026
Última modificación
2 nov 2026
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Debilidad (CWE)
CWE-917

Referencias

Mostrar 5 referencias másMostrar menos

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-95664",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-95664",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-11-02T18:25:08.982933Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "security@apache.org",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 5.4,
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
          "integrityImpact": "LOW",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "LOW"
        },
        "impactScore": 2.5,
        "exploitabilityScore": 2.8
      },
      {
        "type": "Secondary",
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 5.4,
          "attackVector": "NETWORK",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
          "integrityImpact": "LOW",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "LOW"
        },
        "impactScore": 2.5,
        "exploitabilityScore": 2.8
      }
    ]
  },
  "affected": [
    {
      "source": "security@apache.org",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache Camel",
          "versions": [
            {
              "status": "affected",
              "version": "4.8.0",
              "lessThan": "4.18.5",
              "versionType": "maven"
            },
            {
              "status": "affected",
              "version": "4.19.0",
              "lessThan": "4.22.2",
              "versionType": "maven"
            }
          ],
          "packageURL": "pkg:maven/org.apache.camel/camel-aws2-s3",
          "packageName": "org.apache.camel:camel-aws2-s3",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-10-26T09:16:37.220",
  "references": [
    {
      "url": "https://camel.apache.org/security/CVE-2025-27636.html",
      "tags": [
        "Not Applicable"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://camel.apache.org/security/CVE-2026-78164.html",
      "tags": [
        "Not Applicable"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://camel.apache.org/security/CVE-2026-83531.html",
      "tags": [
        "Not Applicable"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://camel.apache.org/security/CVE-2026-95664.html",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/26746",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/26840",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/26841",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/26842",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/26889",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://issues.apache.org/jira/browse/CAMEL-20971",
      "tags": [
        "Issue Tracking"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://issues.apache.org/jira/browse/CAMEL-24901",
      "tags": [
        "Issue Tracking"
      ],
      "source": "security@apache.org"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "security@apache.org",
      "description": [
        {
          "lang": "en",
          "value": "CWE-917"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') vulnerability in Apache Camel AWS2-s3 component.\n\n\n\nThis issue affects Apache Camel: from 4.8.0 before 4.18.5, from 4.19.0 before 4.22.2.\n\n\n\nFor 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.\n\n\n\nUsers 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."
    }
  ],
  "lastModified": "2026-11-02T19:18:12.223",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "452812B4-BE8B-4E80-BE1C-6185B202EDF9",
              "versionEndExcluding": "4.18.5",
              "versionStartIncluding": "4.8.0"
            },
            {
              "criteria": "cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "98F17F8D-EF4C-4F95-8EF6-206920C39E30",
              "versionEndExcluding": "4.22.2",
              "versionStartIncluding": "4.19.0"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "security@apache.org"
}