CVE-2026-59364
Received Received - Intake

FTPS Credential Exposure via Weak Default TrustManager

Vulnerability report for CVE-2026-59364, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VMware

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-02
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects applications using DefaultFtpsSessionFactory without a configured TrustManager. The factory relies on Apache Commons Net's default trust manager, which only checks certificate validity dates and does not verify the certificate chain or perform hostname verification. This allows attackers to intercept FTPS connections using a non-expired self-signed certificate, capture login credentials, and access or modify transferred files.

Detection Guidance

Check if your application uses DefaultFtpsSessionFactory without a custom TrustManager. Inspect Spring Integration versions for affected releases (5.5.22 and earlier, 6.0.0-6.4.13, 6.5.0-6.5.11, 7.0.0-7.0.7, 7.1.0-7.1.2). Use commands like 'find . -name "*.jar" | xargs -I {} sh -c "jar tf {} | grep -q DefaultFtpsSessionFactory && echo {}"' to locate the class in dependencies.

Impact Analysis

An attacker could intercept your FTPS connection, steal FTP login credentials, and read or tamper with files being transferred. This could lead to unauthorized access to sensitive data and potential data breaches.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, which may violate GDPR's data protection requirements or HIPAA's safeguards for protected health information. Non-compliance could result in legal penalties and reputational damage.

Mitigation Strategies

Upgrade to fixed versions: Spring Integration 7.1.3 (OSS), 7.1.2.1 (Enterprise), 7.0.8 (OSS), 7.0.7.1 (Enterprise), 6.5.12 (Enterprise), 6.4.14 (Enterprise), or 5.5.23 (Enterprise). If upgrading is not possible, configure DefaultFtpsSessionFactory with a TrustManager that validates certificate chains and enables hostname verification.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59364. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...