CVE-2026-103412

Apache Camel Karavan: project file name path traversal when committing a project to Git

Published Oct 9, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A path traversal flaw arises during project commits when the submitted project file name is used directly as a path segment in the working copy. The flaw permits an authenticated user to craft a file name containing ../ sequences, thereby causing the file content to be written outside the intended project directory. Because the Karavan process can write to any folder under its permission set, the attacker can overwrite application configuration or class‑path files and subsequently execute arbitrary code within the Karavan container.

Affected Systems

The vulnerability affects Apache Camel Karavan versions starting from 3.18.0 up to, but not including, 4.22.1. Any installation of these releases is susceptible unless the project file API input is manually validated or the process permissions are restricted.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity, but the EPSS score is not available. The flaw is not listed in CISA’s KEV catalog. Exploitation requires authentication to the Karavan platform, and the attacker can target any writable location on the host. Once an arbitrary file is overwritten—particularly on the application classpath—remote code execution is possible.

Remediation

Vendor Solution

Upgrade to Apache Camel Karavan 4.22.1. Apache Camel Karavan has no maintenance branches, so 4.22.1 is the only release containing the fix.


OpenCVE Recommended Actions

  • Upgrade to Apache Camel Karavan 4.22.1, which contains the fix.
  • Validate all project file names on the server side, rejecting any that contain '..' or path separator characters.
  • Restrict the file system permissions of the Karavan process so it can write only within the intended project directory, preventing writes to arbitrary locations.

Generated by OpenCVE AI on October 9, 2026 at 14:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache camel Karavan
Vendors & Products Apache
Apache camel Karavan
Type Values Removed Values Added
Description 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.
Title Apache Camel Karavan: project file name path traversal when committing a project to Git
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Oct 15, 2026, 6:06 PM
Reserved
Sep 30, 2026, 2:36 PM
Status
Awaiting Analysis
Published
Oct 9, 2026, 1:17 PM
Modified
Oct 15, 2026, 7:17 PM