{"id":"CVE-2026-103412","state":"PUBLISHED","title":"Apache Camel Karavan: project file name path traversal when committing a project to Git","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.","publishedAt":"2026-10-09T12:53:13.660Z","updatedAt":"2026-10-15T18:06:53.281Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache Camel Karavan"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Camel Karavan","defaultStatus":"unaffected","versions":[{"version":"3.18.0","status":"affected","lessThan":"4.22.1","versionType":"semver"}]}],"references":["https://camel.apache.org/security/CVE-2026-103412.html","https://github.com/apache/camel-karavan/commit/5e4252494817af0cd2697216bd02f361037fedcf","http://www.openwall.com/lists/oss-security/2026/10/09/16"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103412.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103412","state":"PUBLISHED","datePublished":"2026-10-09T12:53:13.660Z","dateUpdated":"2026-10-15T18:06:53.281Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-09-30T14:36:14.206Z"},"containers":{"cna":{"title":"Apache Camel Karavan: project file name path traversal when committing a project to Git","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Camel Karavan","defaultStatus":"unaffected","versions":[{"version":"3.18.0","status":"affected","lessThan":"4.22.1","versionType":"semver"}]}],"references":[{"url":"https://camel.apache.org/security/CVE-2026-103412.html","name":"Apache Camel Karavan Security Advisory - CVE-2026-103412","tags":["vendor-advisory"]},{"url":"https://github.com/apache/camel-karavan/commit/5e4252494817af0cd2697216bd02f361037fedcf","name":"Fix commit","tags":["patch"]}],"metrics":[{"scenarios":[{"lang":"en","value":"GENERAL"}],"format":"CVSS","cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":8.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-10-09T12:53:13.660Z"},"datePublic":"2026-10-07T00:00:00.000Z","source":{"discovery":"EXTERNAL"},"solutions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>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.</p>"}]}],"timeline":[{"time":"2026-08-28T00:00:00.000Z","lang":"en","value":"Reported to the Apache Security Team and forwarded to the Apache Camel PMC"},{"time":"2026-08-28T00:00:00.000Z","lang":"en","value":"Fix committed"},{"time":"2026-09-29T00:00:00.000Z","lang":"en","value":"Apache Camel Karavan 4.22.1 released"},{"time":"2026-10-07T00:00:00.000Z","lang":"en","value":"Advisory published"}],"credits":[{"lang":"en","value":"CyberLeo","type":"reporter"},{"lang":"en","value":"Marat Gubaidullin","type":"remediation developer"},{"lang":"en","value":"Andrea Cosentino","type":"coordinator"}],"x_generator":{"engine":"Vulnogram 1.0.3"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/09/16"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-10-09T15:07:25.560Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T18:03:55.219309Z","id":"CVE-2026-103412","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T18:06:53.281Z"}}]}}}