CVE-2026-103412: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Apache Software Foundation 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
Affected software
Apache Software Foundation
Apache Camel Karavan
pkg:maven/org.apache.camel/camel-karavanRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.