Description
When no TrustManager is explicitly configured, DefaultFtpsSessionFactory relies on the Apache Commons Net FTPSClient default trust manager, which only checks each certificate's validity dates and does not verify the certificate chain against a trust anchor.
In addition, the factory does not enable hostname verification (endpoint checking) for the FTPS connection.

As a result, an attacker with an active man-in-the-middle position between the application and the FTPS server can present any non-expired self-signed certificate, transparently intercept the TLS connection, capture the FTP credentials sent during login, and read or tamper with transferred files.
Any application that uses DefaultFtpsSessionFactory without explicitly configuring a secure TrustManager is affected.
Published: 2026-12-02
Score: 5.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 02 Dec 2026 07:30:00 +0000

Type Values Removed Values Added
Description When no TrustManager is explicitly configured, DefaultFtpsSessionFactory relies on the Apache Commons Net FTPSClient default trust manager, which only checks each certificate's validity dates and does not verify the certificate chain against a trust anchor. In addition, the factory does not enable hostname verification (endpoint checking) for the FTPS connection. As a result, an attacker with an active man-in-the-middle position between the application and the FTPS server can present any non-expired self-signed certificate, transparently intercept the TLS connection, capture the FTP credentials sent during login, and read or tamper with transferred files. Any application that uses DefaultFtpsSessionFactory without explicitly configuring a secure TrustManager is affected.
Title Spring Integration DefaultFtpsSessionFactory Does Not Verify FTPS Server Certificate and Hostname by Default
References
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-12-02T07:10:01.370Z

Reserved: 2026-07-04T18:14:57.431Z

Link: CVE-2026-59364

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-12-02T08:17:40.907

Modified: 2026-12-02T19:26:40.093

Link: CVE-2026-59364

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses

No weakness.