Skip to main content
← All vulnerabilities
CVE-2026-40987GHSA-792X-6VQ6-J8R9

Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.4.1, 6.5.8.1, 6.4.12, 6.3.15, 5.5.21, and 2 more
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring Spring Integration

    From 7.0.0 · fixed in 7.0.4.1; From 6.5.0 · fixed in 6.5.8.1; From 6.4.0 · fixed in 6.4.12; From 6.3.0 · fixed in 6.3.15; From 5.5.0 · fixed in 5.5.21

  • org.springframework.integration:spring-integration-fileMaven

    From 7.0.0 · fixed in 7.0.5

  • org.springframework.integration:spring-integration-fileMaven

    From 6.5.0 · fixed in 6.5.9

  • org.springframework.integration:spring-integration-fileMaven

    From 6.4.0 · through 6.4.11

  • org.springframework.integration:spring-integration-fileMaven

    From 6.3.0 · through 6.3.14

  • org.springframework.integration:spring-integration-fileMaven

    through 5.5.20

References 2

spring.io

GitHub · daehyuh/CVE-2026-40987