{"id":"CVE-2026-103412","published":"2026-10-09T13:17:07.453","lastModified":"2026-10-15T19:17:13.813","description":"Improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Apache Camel Karavan.\n\n\n\nA 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.\n\n\n\nThis issue affects Apache Camel Karavan: from 3.18.0 before 4.22.1.\n\n\n\nUsers are recommended to upgrade to version 4.22.1, which fixes the issue.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-22"],"vendors":[],"products":[],"references":[{"url":"https://camel.apache.org/security/CVE-2026-103412.html","tags":[]},{"url":"https://github.com/apache/camel-karavan/commit/5e4252494817af0cd2697216bd02f361037fedcf","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/09/16","tags":[]}],"exploitRefs":[{"url":"https://github.com/apache/camel-karavan/commit/5e4252494817af0cd2697216bd02f361037fedcf","tags":[]}],"hasPoc":true,"ai":{"summary":"A path traversal vulnerability in Apache Camel Karavan allows authenticated users to write files outside the project directory by using '../' sequences in project names, potentially leading to arbitrary code execution within the Karavan container.","exploitability":"The vulnerability is easily exploitable as it requires only an authenticated user with any role to submit a project name containing '../' sequences, with no additional preconditions.","blast_radius":"The impact could be significant as attackers could overwrite critical application configuration files or execute code within the Karavan container, potentially affecting other applications running in the same environment.","remediation":"Upgrade to version 4.22.1 which fixes the path traversal issue.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["path-traversal","rce","authenticated","web"],"model":"garnet-coder","analyzedAt":"2026-10-13T08:50:43.017Z"}}