CVE-2026-95629

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ón1.00 %mayor que el 63 % de las CVE · dato del 17 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 17 nov, 18:00
Exploit públicoDisponiblePrueba de concepto en GitHub (no verificada)

Limitación inadecuada de una ruta de acceso a un directorio restringido ('Path Traversal') en el componente Apache Camel Docling.

Este problema afecta a Apache Camel: desde la 4.15.0 hasta antes de la 4.18.5, desde la 4.19.0 hasta antes de la 4.22.2.

DoclingProducer ejecuta la herramienta externa docling en modo CLI, que es el predeterminado, e indica dónde debe escribir el documento convertido mediante el parámetro --output.

Leer descripción completaMostrar menos

Cuando se establecía la cabecera CamelDoclingOutputFilePath, addOutputDirectoryArguments pasaba su valor a ese parámetro tal cual: el valor no se normalizaba, una ruta absoluta o una ruta que contuviera segmentos .. se aceptaba tal como se proporcionaba, y ninguna opción del endpoint podía restringirla a un directorio. La validación de argumentos personalizados añadida con la corrección de CVE-2026-40047 rechaza los parámetros --output y -o en la cabecera CamelDoclingCustomArguments e indica a quien realiza la llamada que elija el directorio de salida mediante esta cabecera en su lugar, de modo que el único valor que decide dónde escribe docling llegaba a la línea de comandos sin ninguna de las comprobaciones aplicadas a los argumentos personalizados. Docling escribe el resultado de la conversión, en formato Markdown, HTML, JSON o texto, en dicho directorio, con el nombre del archivo de entrada, y el productor elimina posteriormente únicamente su propio directorio temporal, por lo que el archivo permanece en su lugar. Una parte capaz de establecer la cabecera podría, por tanto, lograr que se creara salida de conversión en cualquier directorio en el que el proceso de Camel pueda escribir.

El contenido de dicho archivo es la conversión del documento transportado en el mensaje, por lo que está determinado por quien suministra ese documento y no se escribe byte a byte; cuando el contenido del documento llega en el cuerpo del mensaje, el productor lo almacena con un nombre temporal aleatorio, que el archivo de salida conserva. La cabecera pertenece al espacio de nombres de cabeceras de Camel, que los consumidores que aplican el filtrado predeterminado de cabeceras de Camel, como los consumidores de JMS y Kafka, eliminan de los mensajes entrantes; por ello, el problema se alcanza cuando una ruta reenvía a la cabecera valores influidos desde el exterior o cuando un consumidor asigna cabeceras entrantes sin ese filtrado. El modo docling-serve no utiliza la cabecera.

Se recomienda a los usuarios actualizar a la versión 4.23.0, que corrige el problema. Si utilizan la serie de versiones 4.22.x, se les sugiere actualizar a la 4.22.2. Si utilizan la serie 4.18.x, se les sugiere actualizar a la 4.18.5. La corrección añade una opción de endpoint outputBaseDirectory que no está establecida de forma predeterminada; por tanto, tras la actualización, establézcala en todos los endpoints de docling cuya cabecera CamelDoclingOutputFilePath pueda transportar un valor influido desde fuera de la implantación; sin ella, la cabecera se normaliza pero aun así puede indicar cualquier directorio. Las líneas 4.15.x a 4.17.x y 4.19.x a 4.21.x llegaron al fin de su vida útil antes de que se resolviera este problema y no recibirán corrección, por lo que las implantaciones que las utilicen deben migrar a una versión soportada.

Para las implantaciones que no puedan actualizar de inmediato, no construyan la cabecera CamelDoclingOutputFilePath a partir de valores que tengan origen fuera de la implantación, eliminen dicha cabecera de los mensajes que llegan desde el exterior antes de que alcancen un endpoint de docling, y asegúrense de que los consumidores que asignan las cabeceras de los mensajes entrantes descarten el espacio de nombres de cabeceras de Camel, de modo que solo la propia ruta decida el directorio de salida.

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; el header CamelDoclingOutputFilePath se pasa sin normalizar a --output, así que la salida de docling puede escribirse en cualquier directorio escribible (path traversal).

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
6 nov 2026
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Debilidad (CWE)
CWE-22

Referencias

Mostrar 1 referencias másMostrar menos

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-95629",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-95629",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-11-02T20:57:30.633512Z"
        }
      }
    ],
    "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:N/I:L/A:L",
          "integrityImpact": "LOW",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "LOW",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "NONE"
        },
        "impactScore": 2.5,
        "exploitabilityScore": 2.8
      }
    ]
  },
  "affected": [
    {
      "source": "security@apache.org",
      "affectedData": [
        {
          "vendor": "Apache Software Foundation",
          "product": "Apache Camel",
          "versions": [
            {
              "status": "affected",
              "version": "4.15.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-docling",
          "packageName": "org.apache.camel:camel-docling",
          "collectionURL": "https://repo.maven.apache.org/maven2",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2026-10-26T09:16:36.800",
  "references": [
    {
      "url": "https://camel.apache.org/security/CVE-2026-40047.html",
      "tags": [
        "Not Applicable"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://camel.apache.org/security/CVE-2026-78163.html",
      "tags": [
        "Not Applicable"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://camel.apache.org/security/CVE-2026-95629.html",
      "tags": [
        "Vendor Advisory"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/26737",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/27362",
      "tags": [
        "Issue Tracking",
        "Patch"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://github.com/apache/camel/pull/27365",
      "tags": [
        "Issue Tracking"
      ],
      "source": "security@apache.org"
    },
    {
      "url": "https://issues.apache.org/jira/browse/CAMEL-24894",
      "tags": [
        "Issue Tracking",
        "Vendor Advisory"
      ],
      "source": "security@apache.org"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "security@apache.org",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel Docling component.\n\n\n\nThis issue affects Apache Camel: from 4.15.0 before 4.18.5, from 4.19.0 before 4.22.2.\n\n\n\nDoclingProducer runs the external docling tool in CLI mode, the default, and tells it where to write the converted document through the --output flag. When the CamelDoclingOutputFilePath header was set, addOutputDirectoryArguments handed its value to that flag verbatim: the value was not normalized, an absolute path or a path containing .. segments was accepted as given, and no endpoint option could confine it to a directory. The custom-argument validation added by the fix for CVE-2026-40047 refuses the --output and -o flags in the CamelDoclingCustomArguments header and tells callers to choose the output directory with this header instead, so the one value that decides where docling writes reached the command line without any of the checks applied to custom arguments. Docling writes the conversion result, as Markdown, HTML, JSON or text, into that directory, naming the file after the input file, and the producer afterwards removes only its own temporary directory, so the file is left in place. A party able to set the header could therefore have conversion output created in any directory the Camel process can write to. The content of such a file is the conversion of the document carried by the message, so it is shaped by whoever supplies that document without being written byte for byte, and when the document content arrives in the message body the producer stores it under a random temporary name, which the output file then carries. The header belongs to the Camel header namespace, which consumers applying Camel's default header filtering, such as the JMS and Kafka consumers, remove from incoming messages, so the issue is reached where a route forwards externally influenced values into the header or where a consumer maps incoming headers without that filtering. The docling-serve mode does not use the header.\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 fix adds an outputBaseDirectory endpoint option that is unset by default, so after upgrading, set it on every docling endpoint whose CamelDoclingOutputFilePath header can carry a value influenced from outside the deployment; without it the header is normalized but can still name any directory. The 4.15.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. For deployments that cannot upgrade immediately, do not build the CamelDoclingOutputFilePath header from values that originate outside the deployment, remove that header from messages that arrive from outside before they reach a docling endpoint, and make sure that consumers which map incoming message headers drop the Camel header namespace, so that only the route itself chooses the output directory."
    }
  ],
  "lastModified": "2026-11-06T16:27:12.493",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:apache:camel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "DFCBEBCC-485B-4426-AF9B-6494D5248B3B",
              "versionEndExcluding": "4.18.5",
              "versionStartIncluding": "4.15.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"
}