Skip to content
MediumVulnerability

CVE-2026-95628: Apache Camel Docling component path traversal via absolute path arguments

Identifier
CVE-2026-95628
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.3%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.2, passes custom arguments from the CamelDoclingCustomArguments header to the docling command line. The validatePathSafety check rejects relative traversal (such as ../) but does not reject absolute paths, which pass unchanged, so a value like the one given to --artifacts-path can point docling at any directory the Camel process can access. Exploitation requires that an outside party can influence the header, which happens when a route forwards external values into it or a consumer maps incoming headers without Camel's default header filtering.

Mitigation

Upgrade to Apache Camel 4.23.0, or to 4.22.2 on the 4.22.x stream or 4.18.5 on the 4.18.x stream. The 4.15.x to 4.17.x and 4.19.x to 4.21.x lines are end of life and will not receive a fix. If upgrading is not immediately possible: do not build the CamelDoclingCustomArguments header from values originating outside the deployment, remove that header from externally arriving messages before they reach a docling endpoint, and make sure consumers that map incoming headers drop the Camel header namespace.