Skip to main content

CVE-2026-103412: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation Apache Camel Karavan

0
High
VulnerabilityCVE-2026-103412cvecve-2026-103412cwe-22
Published: 10/09/2026 (10/09/2026, 12:53:13 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel Karavan

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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Apache Software Foundation

Apache Camel Karavan

Affected versions
>=3.18.0 <4.22.1
org.apache.camel/camel-karavan
pkg:maven/org.apache.camel/camel-karavan
Affected versions
>=3.18.0 <4.22.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/09/2026, 13:18:40 UTC

Technical Analysis

Apache Camel Karavan versions >=3.18.0 and <4.22.1 are affected by a CWE-22 path traversal vulnerability. The vulnerability arises because a project file name supplied via the project file API is used verbatim as a path segment when writing the project to the working copy for a Git commit. If the file name contains '../' sequences, the file content can be written outside the project directory to any location writable by the Karavan process. An authenticated user of any role can exploit this to overwrite application configuration or files on the application classpath, enabling code execution in the Karavan container. The vulnerability has a CVSS 3.1 score of 8.8, indicating high severity. The issue is resolved in Apache Camel Karavan version 4.22.1.

Potential Impact

An authenticated user with any role can exploit this vulnerability to write files outside the intended directory, overwriting critical application configuration or classpath files. This can lead to remote code execution within the Karavan container, compromising the integrity and availability of the application.

Mitigation Recommendations

Users should upgrade Apache Camel Karavan to version 4.22.1 or later, where this path traversal vulnerability is fixed. No other mitigations are specified. Patch status is confirmed fixed in 4.22.1.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-09-30T14:36:14.206Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac8e6472cdf04f65657df30

Added to database: 10/09/2026, 13:04:07 UTC

Last enriched: 10/09/2026, 13:18:40 UTC

Last updated: 10/10/2026, 02:48:07 UTC

Views: 16

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses