Skip to content
MediumVulnerability

CVE-2026-78163: Apache Camel Docling component SSRF and path traversal via String message body

Identifier
CVE-2026-78163
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Apache Camel's Docling component, in versions from 4.15.0 before 4.18.5 and from 4.19.0 before 4.22.1, interprets a String message body by its prefix: http:// or https:// bodies are fetched as remote URLs, bodies starting with / or containing a backslash are read from the local filesystem, and anything else is converted as document content. Because the body is never filtered and the derived value is only size-checked when it resolves to an existing file, a sender who can place text in a message forwarded into a docling endpoint can reach both the remote-fetch and local-file sinks without any deployment opt-in.

Mitigation

Fixed in 4.23.0. Upgrade to 4.22.1 on the 4.22.x stream or to 4.18.5 on the 4.18.x stream. The 4.14.x stream and earlier are end of life and receive no fix. If upgrading is not possible immediately, do not route message bodies originating outside the deployment into a docling endpoint, and pass the document as a typed body (File, byte[] or InputStream) or via the CamelDoclingInputFilePath header.