CVE-2026-40987: Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization

Published Jun 11, 2026
·
Updated

A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-directory) with attacker-controlled content.

Affected versions: Spring Integration 7.0.0 through 7.0.4; 6.5.0 through 6.5.8; 6.4.0 through 6.4.11; 6.3.0 through 6.3.14; 5.5.0 through 5.5.20.

Affected Software

6 affected components
maven/org.springframework.integration/spring-integration-file>=7.0.0<=7.0.4, >=6.5.0<=6.5.8, >=6.4.0<=6.4.11, >=6.3.0<=6.3.14, >=5.5.0<=5.5.20
VMware Spring Integration<5.5.21
VMware Spring Integration>=6.3.0<6.3.15
VMware Spring Integration>=6.4.0<6.4.12
VMware Spring Integration>=6.5.0<6.5.8.1
VMware Spring Integration>=7.0.0<7.0.4.1

Event History

Jun 11, 2026
CVE Published
via MITRE·05:03 AM
Data Sourced
via MITRE·05:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40987?

CVE-2026-40987 has a high severity rating of 7.1.

2

How do I fix CVE-2026-40987?

To fix CVE-2026-40987, upgrade to the latest version of Spring Integration that addresses this vulnerability.

3

What types of servers are affected by CVE-2026-40987?

CVE-2026-40987 is affected by malicious or compromised FTP, SFTP, or SMB servers.

4

What is the potential impact of CVE-2026-40987?

CVE-2026-40987 allows attackers to write arbitrary files to the client filesystem, potentially leading to data compromise.

5

Which versions of Spring Integration are vulnerable to CVE-2026-40987?

Spring Integration versions 7.0.0 through 7.0.4, 6.5.0 through 6.5.8, 6.4.0 through 6.4.11, and 6.3.0 through 6.3.10 are vulnerable to CVE-2026-40987.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203