All vulnerabilities

Maven

CVE-2026-95628

Apache Camel: Camel-Docling Custom CLI Argument Path Validation Does Not Reject Absolute Paths (Incomplete Fix of CVE-2026-40047)

Severity
Medium 5.4
Published
26 Oct 2026
Last changed
26 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
4.18.5, 4.22.2
Exploit chance
1.3% in the next 30 daysHigher than 71% 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 builds the command line of the external docling tool and appends to it the custom arguments supplied in the CamelDoclingCustomArguments header, a list of strings whose flags the fix for CVE-2026-40047 restricted to an allowlist. That fix also introduced validatePathSafety to keep path-like argument values inside the intended directory, but the method only looked for relative traversal: it rejected a value containing a traversal sequence such as ../ and a value whose normalized form still held a .. element. It never checked whether a value was an absolute path, and an absolute path without traversal segments contains neither, so it passed unchanged.

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-95628