CVE-2026-40987: Spring Integration File Support: FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem
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.
Published Jun 11, 2026 · Updated Aug 7, 2026
Affected packages
org.springframework.integration:spring-integration-file
- Ecosystem
- Maven
- Affected
- >= 6.4.0, <= 6.4.11
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.integration:spring-integration-file
org.springframework.integration:spring-integration-file
- Ecosystem
- Maven
- Affected
- >= 6.3.0, <= 6.3.14
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.integration:spring-integration-file
org.springframework.integration:spring-integration-file
- Ecosystem
- Maven
- Affected
- <= 5.5.20
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.integration:spring-integration-file
org.springframework.integration:spring-integration-file
- Ecosystem
- Maven
- Affected
- >= 7.0.0, <= 7.0.4
- Fixed in
- 7.0.5
- Check
mvn dependency:tree -Dincludes=org.springframework.integration:spring-integration-file
org.springframework.integration:spring-integration-file
- Ecosystem
- Maven
- Affected
- >= 6.5.0, <= 6.5.8
- Fixed in
- 6.5.9
- Check
mvn dependency:tree -Dincludes=org.springframework.integration:spring-integration-file
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to julianladisch, oleg-andreev-check24, ChristianAchatz.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
