Skip to main content

Apache Camel Karavan EUVDEUVD-2026-95756

| CVE-2026-103412 HIGH
Path Traversal (CWE-22)
2026-10-09 security@apache.org GHSA-8cgr-63w4-hm5f
8.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as any-role Karavan user
  2. Delivery
    Submit project file with '../' in name via file API
  3. Exploit
    Name used verbatim as path segment on Git write
  4. Execution
    File written onto classpath/config outside project dir
  5. Impact
    Code execution in Karavan container

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated Karavan account, but of ANY role (no admin/privileged role needed) - this is the main limiting factor and a low barrier in multi-user deployments. The concrete trigger is a project file submitted through the project file API (create/update/rename/copy endpoints per the patched ProjectFileResource) whose file name (or project ID) contains '../' traversal sequences; the name was used verbatim as a path segment when writing the project to the working copy for a Git commit. No non-default configuration, user interaction, or specific platform is required - the flaw is present in default behavior of affected versions (3.18.0 up to but not including 4.22.1). The write can reach any location writable by the Karavan process, so impact depends on that process's filesystem permissions over its classpath and config.

Impact

This is a genuine high-priority issue, not an inflated CVSS score. The provided CVSS:3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8) is internally consistent with the description: network-reachable project file API, low attack complexity, and only low privileges needed (the description explicitly says 'an authenticated user of any role'), with full confidentiality/integrity/availability impact because successful exploitation yields code execution in the Karavan container. The signals are coherent rather than conflicting - the only tension is the PR:L requirement, which means an attacker must hold valid credentials, so this is not a fully unauthenticated internet-wide mass-exploitation candidate. No EPSS score was provided in the input, so exploitation probability cannot be quantified. The vulnerability is NOT in CISA KEV and no public exploit was identified in the provided data, so there is no public exploit identified at time of analysis. However, a fix commit is public on GitHub, and the root cause (unsanitized file name used verbatim as a path segment, defended by a new PathUtils.resolveInside/validateFileName routine) is simple and clearly visible in the diff, which lowers the effort to reverse-engineer a working exploit. Net: real priority for any organization running affected Karavan versions, especially multi-user deployments where low-privileged accounts exist.

Exploit ScenarioDerived

An attacker who holds any authenticated Karavan account (any role) submits a project file through the project file API with a name containing '../' sequences. When Karavan writes the project to its working copy for a Git commit, the traversal escapes the project directory and overwrites a file on the application classpath or a configuration file, leading to code execution inside the Karavan container. No public proof-of-concept was identified at time of analysis, but the fix commit makes the mechanism easy to reconstruct.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 09, 2026

Path traversal in Apache Camel Karavan 3.18.0 through 4.22.0 allows an authenticated user of any role to write arbitrary files outside the project directory by supplying a project file name containing '../' sequences, leading to overwrite of application configuration or classpath files and potential remote code execution in the Karavan container. The flaw is present in default behavior and requires only a valid account (CVSS 8.8, PR:L). No public exploit code or active exploitation has been identified at time of analysis, but the high impact and low privilege requirement make this a genuine high-priority issue.

RemediationAI

Upgrade to Apache Camel Karavan 4.22.1 or later, which includes the path validation fix (vendor-released patch). The advisory at https://camel.apache.org/security/CVE-2026-103412.html provides the official guidance. If immediate upgrade is not possible, restrict access to the project file API to fully trusted users only, as any authenticated user of any role can exploit this; run the Karavan process under a dedicated low-privilege account with filesystem permissions limited to only necessary directories (e.g., make the classpath read-only), and monitor for unexpected file writes outside the project working directory. These compensating controls may reduce functionality and are not a substitute for patching.

Affected VersionsENISA

Apache Camel Karavan 3.18.0 <4.22.1

Affected Packages

euvd apache_camel_karavan fix: 4.22.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a classic CWE-22 path traversal vulnerability in the Apache Camel Karavan project file API. The affected component, ProjectFileResource, and the underlying CodeService and GitService, used a user-supplied file name (and project ID) verbatim as a path segment when writing project files to the working copy for a Git commit. An authenticated attacker could include '../' sequences in the file name or project ID to escape the intended project directory and write content to any location writable by the Karavan process. The patched commit (5e4252494817af0cd2697216bd02f361037fedcf) introduces a PathUtils class with validateFileName, validateProjectId, and resolveInside methods that sanitize the input and ensure the resolved path stays within the expected directory, returning BAD_REQUEST on violation. The vulnerability affects versions from 3.18.0 before 4.22.1.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-facing API with low-complexity traversal needs only an any-role authenticated account (PR:L), and arbitrary file overwrite yielding container code execution gives full C/I/A impact within the same component (S:U).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 09, 2026 - 14:01 EUVD
CVE Published
Oct 09, 2026 - 13:17 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Apache Camel Karavan versions 3.18.0 through 4.22.0 contain a path traversal flaw that lets any authenticated user, regardless of role, write files outside the intended project directory, including application configuration and classpath files that can lead to remote code execution inside the Karavan container. Because the vulnerability is default behavior requiring only a valid account, the risk surface extends well beyond administrators to every developer, contractor, or service account with access to the platform. Leadership should treat this as a high-priority exposure: Karavan often sits adjacent to production integration pipelines, so a compromised instance could disrupt or manipulate business-critical data flows.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict Karavan UI/API access to trusted networks or VPN; disable unused accounts and enforce least-privilege roles (note that all roles are affected, so account reduction is not sufficient alone); disable or restrict project creation and file-import features where possible; run Karavan containers read-only with no privileged mounts or host path exposure; apply file-integrity monitoring and alerting on writes outside the project directory; segment the instance away from production credentials and systems; monitor the vendor advisory for a fixed release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche Apache integration/low-code tooling, limited enterprise production footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy