Skip to content
Heist/ feed
Medium

Apache Camel: Camel-Docling Unvalidated Message Body Input Source Enables Server-Side Request Forgery and Local File Disclosure

Type: advisorySource: Official CVE List1 source record

Server-Side Request Forgery (SSRF), Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') and Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Camel Docling component. This issue affects Apache Camel: from 4.15.0 before 4.18.5, from 4.19.0 before 4.22.1. DoclingProducer decided what a String message body meant by inspecting its prefix. A body starting with http:// or https:// was handed to Docling as a remote URL to fetch, a body starting with / or containing a backslash was read from the local filesystem, and anything else was written to a temporary file and converted as document content. The mode was chosen implicitly and no endpoint option allowed a route author to pin the component to a single interpretation, so a route that means convert whatever text arrives in the body silently became a fetcher of remote resources or a reader of local files whenever the text happened to begin with one of those prefixes. The only guard applied to the derived value was a size check, and that check was wrapped in an existence test, so a path that resolved to nothing, or to a pseudo-file reporting a size of zero, passed without being checked at all. Five call sites reached the two sinks: the CLI mode appended the value as the final positional argument of the docling subprocess, and the docling-serve mode passed it either to HttpSource for the backend to fetch or to Files.readAllBytes so that the content could be base64-encoded and

Announced Source revision 1
Original source ↗

CVE-2026-78163

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-78163

Apache Camel

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "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.1",
        "versionType": "maven"
      },
      {
        "status": "unaffected",
        "version": "4.18.5",
        "versionType": "maven"
      },
      {
        "status": "unaffected",
        "version": "4.22.1",
        "versionType": "maven"
      },
      {
        "status": "unaffected",
        "version": "4.23.0",
        "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"
  }
]
Related CVEs
CVE-2026-78163

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#39959 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement