Security mailing lists by PureSourceCode

CVE-2026-128984

MEDIUM 6.5CVSS 3.1

Apache Camel: Camel-SFTP passes file names to JSch as glob patterns, so wildcards act on other files in the directory

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache Camel SFTP component.

This 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.

camel-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.

Upgrade 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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
security@apache.org
NVD status
Awaiting Analysis
Weakness
CWE-22
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@apache.org (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
CVE List apache CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.maven.apache.org/maven2 org.apache.camel:camel-ftp >= 4.0.0, < 4.18.6; >= 4.19.0, < 4.22.3; >= 4.23.0, < 4.24.0 4.18.6, 4.22.3, 4.24.0

References

History

  • 3 Dec 2026 17:56 UTC · NVD: updated (other details)
  • 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
  • 3 Dec 2026 13:56 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 12:56 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.