All vulnerabilities

Maven

CVE-2026-95629

Apache Camel: Camel-Docling Unvalidated Output Path Header Enables Writing Conversion Output to an Arbitrary Directory

Severity
Medium 5.4
Published
26 Oct 2026
Last changed
2 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.18.5, 4.22.2
Exploit chance
1% in the next 30 daysHigher than 63% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Sources
CVE Program

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 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.2.

DoclingProducer 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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.camel:camel-doclingMaven · osv:Maven:org.apache.camel:camel-docling
  • From 4.15.0 before 4.18.5
  • From 4.19.0 before 4.22.2

About org.apache.camel:camel-docling

Vulnerabilities in org.apache.camel:camel-docling

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
0
Known exploited
0
Search the list for org.apache.camel:camel-docling

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-95629