{"schemaVersion":4,"id":"CVE-2026-128984","aliases":[],"status":"published","duplicateOf":null,"title":"Apache Camel: Camel-SFTP passes file names to JSch as glob patterns, so wildcards act on other files in the directory","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel SFTP component.\n\n\n\nThis issue affects Apache Camel: from 4.0.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.\n\n\n\ncamel-sftp (the JSch-based sftp in the camel-ftp module, SftpOperations) passed file names to JSch put, get, rm and rename as glob patterns rather than literal names, so a name containing ? or * matched and acted on other files in the same directory, allowing an unintended file to be read, overwritten or deleted. The fixed releases pass the file names to JSch literally.\n\n\n\nUpgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.","dates":{"published":"2026-12-03T12:16:35.935Z","modified":"2026-12-03T16:45:21.735Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00857,"percentile":0.59685,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-04T00:00:00.000Z","score":0.00857,"percentile":0.59685}],"last30":[{"date":"2026-12-04T00:00:00.000Z","score":0.00857,"percentile":0.59685}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"apache software foundation","product":"apache camel","name":"Apache Camel","label":"apache camel","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.0.0, < 4.18.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.18.6","endInclusive":false}},{"text":"≥ 4.19.0, < 4.22.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.19.0","startInclusive":true,"end":"4.22.3","endInclusive":false}},{"text":"≥ 4.23.0, < 4.24.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.23.0","startInclusive":true,"end":"4.24.0","endInclusive":false}}],"versionsText":"≥ 4.0.0, < 4.18.6 | ≥ 4.19.0, < 4.22.3 | ≥ 4.23.0, < 4.24.0","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_camel"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://camel.apache.org/security/CVE-2026-128984.html","label":"camel.apache.org/security/CVE-2026-128984.html","hostname":"camel.apache.org","tags":["Vendor Advisory"]},{"url":"https://issues.apache.org/jira/browse/CAMEL-26925","label":"issues.apache.org/jira/browse/CAMEL-26925","hostname":"issues.apache.org","tags":["Issue Tracking"]},{"url":"https://github.com/apache/camel/pull/29848","label":"github.com/apache/camel/pull/29848","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/apache/camel/pull/30186","label":"github.com/apache/camel/pull/30186","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/apache/camel/pull/30187","label":"github.com/apache/camel/pull/30187","hostname":"github.com","tags":["Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-03T12:16:35.935Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-03T16:45:21.735Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,1,65],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00857,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-03T16:45:21.735Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-03T16:45:21.735Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-03T16:21:51.821Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00857,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:47:12.198Z","stale":false,"partial":false}}