CVE-2026-103412 PUBLISHED

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

Assigner: apache
Reserved: 30.09.2026 Published: 09.10.2026 Updated: 09.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Vendor Apache Software Foundation
Product Apache Camel Karavan
Versions Default: unaffected
  • affected from 3.18.0 to 4.22.1 (excl.)

Solutions

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.

Credits

  • CyberLeo reporter
  • Marat Gubaidullin remediation developer
  • Andrea Cosentino coordinator

References

Problem Types

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