CVE Catalog

CVE-2026-128984

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.86%

60th percentile - higher than 60% of all known CVEs

Summary

Apache Camel SFTP component has a path traversal vulnerability due to improper limitation of a pathname to a restricted directory. camel-sftp 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.

Risk Assessment

An attacker or misconfiguration could cause files other than intended to be read, overwritten or deleted in the target SFTP directory. This may result in data loss or information disclosure.

Recommendation

Upgrade Apache Camel to 4.24.0; for the 4.22.x LTS stream upgrade to 4.22.3 and for the 4.18.x LTS stream to 4.18.6. After upgrading, review SFTP endpoint configurations for file names containing wildcard characters.

Other vulnerabilities in Apache Camel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS