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.
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No solution or workaround provided in the CVE record.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
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
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: vmware
Published:
Updated: 2026-12-02T07:10:01.370Z
Reserved: 2026-07-04T18:14:57.431Z
Link: CVE-2026-59364
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses
No weakness.