---
id: CVE-2026-103412
title: >-
  Improper limitation of a pathname to a restricted directory ('path traversal')
  vulnerability in Apache Camel Karavan.




  A project file name supplied through the project file API was used verbatim as
  a path segment when the project was w…
summary: >-
  Improper limitation of a pathname to a restricted directory ('path traversal')
  vulnerability in Apache Camel Karavan.




  A project file name supplied through the project file API was used verbatim as
  a path segment when the project was w…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-22
vendor: Apache Software Foundation
product: Apache Camel Karavan
affected:
  - apache_camel_karavan >= 3.18.0 < 4.22.1
published: '2026-10-09'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:17:13.813'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103412'
references:
  - url: 'https://camel.apache.org/security/CVE-2026-103412.html'
    label: security@apache.org
  - url: >-
      https://github.com/apache/camel-karavan/commit/5e4252494817af0cd2697216bd02f361037fedcf
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2026/10/09/16'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T18:03:55.219309Z'
epss: 0.00515
epssPercentile: 0.43675
ingestedAt: '2026-10-09T13:58:52.540Z'
---

## Overview

Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache Camel Karavan.



A project file name supplied through the project file API was used verbatim as a path segment when the project was written to the working copy for a Git commit, so a name containing `../` sequences caused the file content to be written outside the project directory, to any location writable by the Karavan process. An authenticated user of any role could use this to overwrite application configuration or files on the application classpath and so execute code in the Karavan container.



This issue affects Apache Camel Karavan: from 3.18.0 before 4.22.1.



Users are recommended to upgrade to version 4.22.1, which fixes the issue.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
