Apache Camel Karavan project-file path traversal can write outside project directories

CVE-2026-103412 — Apache Camel Karavan project-file path traversal can write outside project directories; High severity, CVSS 8.8

CVE-2026-103412 is a high-severity path-traversal vulnerability in Apache Camel Karavan. An authenticated Karavan user could submit a project file name containing traversal elements, causing file content to be written outside the intended project directory when Karavan prepared a working copy for a Git commit. Apache says the issue could allow overwriting application configuration or classpath files and potentially executing code inside the Karavan container. Research status: October 9, 2026. [1] [4]

Quick facts

Product
Apache Camel Karavan, a low-code platform for designing and deploying Apache Camel integrations. [2]
Weakness
CWE-22, improper limitation of a pathname to a restricted directory, commonly called path traversal. [4]
Affected versions
Apache lists versions from 3.18.0 through releases before 4.22.1 as affected; the supplied CVE record states 3.18.0 before 4.22.1. [1] [4]
Fixed version
Apache identifies 4.22.1 as the fixed release and says Karavan has no maintenance branches, making it the only release containing the fix. [1] [4]
Severity
The supplied CVE record assigns CVSS 3.1 High severity with a base score of 8.8: network reachable, low complexity, low privileges, and high confidentiality, integrity and availability impact. [4]
Disclosure
Apache credits CyberLeo with discovering and reporting the issue. The advisory states it was published October 7, 2026. [1]
Fix commit
Apache Camel Karavan commit 5e4252494817af0cd2697216bd02f361037fedcf adds filename and project-ID validation and checks that resolved paths remain inside their base directories. [3]

What happened

Karavan accepted a project file name through its project file API and used that value as a filesystem path segment. Before the fix, traversal sequences could move the write target outside the project directory. The vulnerable flow was especially relevant when Karavan wrote project data into a working copy for a Git commit. Apache describes the result as arbitrary file overwriting wherever the Karavan process had write permission. [1] [3]

Impact and prerequisites

Exploitation requires authentication, but Apache states that any authenticated user role could use the affected API. The attacker would also need the Karavan service to have write access to a useful target. Potential consequences include changing application configuration or files on the application classpath, which Apache says could lead to code execution inside the Karavan container. The CVSS score describes severity; it is not evidence that exploitation occurred. [1] [4]

Affected versions and remediation

Organizations running Apache Camel Karavan from 3.18.0 up to, but not including, 4.22.1 should treat the deployment as affected unless they have reliable evidence that it is not using the vulnerable code path. Upgrade to 4.22.1, the release Apache identifies as fixing the issue. The vendor does not publish a maintenance-branch alternative for this product. [1] [4]

General operational considerations, not an Apache-provided workaround or tested fix: restrict Karavan access to trusted networks, review authenticated users and roles, minimize filesystem permissions for the Karavan process, and inspect recent project and Git activity for unexpected filenames or changes outside expected project directories. After upgrading, investigate whether configuration or classpath files were modified during the exposure window. [1]

What the patch changes

The fix introduces centralized path utilities. Project IDs and file names are rejected when empty, when they contain traversal indicators, separators or NUL bytes, or when they fall outside a restricted safe-name pattern. The patch also resolves target paths against their base directory and rejects paths that escape it, providing a filesystem-level check in addition to API validation. [1] [3]

Disclosure and exploitation context

The supplied record says the issue was reported to the Apache Security Team on August 28, 2026, the fix was committed the same day, and Karavan 4.22.1 was released on September 29, 2026. The retrieved Apache advisory and disclosure material identify the reporter and remediation, but this research did not establish confirmed exploitation in the wild. No relevant, retrievable X or Twitter post was found, so social commentary is not included. [4] [1] [5]

Public discussion

No relevant X post with retrievable content was found in this research pass. This does not establish that no discussion exists.

Questions and answers

Am I affected?

You are potentially affected if you run Apache Camel Karavan from 3.18.0 up to, but not including, 4.22.1. Confirm the deployed Karavan version and account for container images or packaged deployments that may not match the version shown in source control. [1] [4]

What should I do first?

Upgrade to Apache Camel Karavan 4.22.1, then review access logs, project-file activity, Git changes and writable directories for unexpected modifications. Rotate or review credentials only if your investigation indicates that sensitive configuration may have been exposed or altered. [1]

Is a fix available?

Yes. Apache identifies 4.22.1 as the fixed version and says it is the only release containing the fix because Karavan has no maintenance branches. [1]

Can an unauthenticated attacker exploit it?

The Apache advisory describes exploitation by an authenticated user. It does not describe unauthenticated exploitation. Exposure still depends on how Karavan is deployed and whether its authentication boundary is reachable or misconfigured. [1]

Is exploitation in the wild confirmed?

No confirmed exploitation was established by the sources reviewed for this article. That should be read as an evidence limitation, not proof that exploitation has not occurred. [1] [5]

What remains uncertain

  • No relevant X or Twitter post with retrievable content, visible author and exact status permalink was found.
  • The reviewed sources document the vulnerability, fix and disclosure timeline but do not provide confirmed exploitation telemetry or an incident list.

Research sources

  1. Apache Camel Karavan Security Advisory - CVE-2026-103412 - Apache Camel
  2. GitHub - apache/camel-karavan: Apache Camel Karavan a Low-code Data Integration Platform · GitHub
  3. PathUtils
  4. Official CVE record CVE-2026-103412
  5. oss-security - CVE-2026-103412: Apache Camel Karavan: project file name path traversal when committing a project to Git

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.

Severity (CVSS)

Base score8.8
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Provided byCNA

Weaknesses

  • CWE-22 — CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected products

VendorProductVersions
Apache Software FoundationApache Camel Karavan3.18.0 to <4.22.1 [affected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 2026-10-10T20:56:47+00:00.