CVE-2026-95628: Apache Camel Docling component path traversal via absolute path arguments
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-95628
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online