CVE-2026-40987

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

State
Published
Severity
7.1 High
Published
Jun 11, 2026
Updated
Jun 23, 2026
Reserved
Apr 16, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:Lvmware

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path Traversal)

Affected Products

ProductVersions
Spring IntegrationSpring
  • 7.0.0 to before 7.0.4.1Affected
  • 6.5.0 to before 6.5.8.1Affected
  • 6.4.0 to before 6.4.12Affected
  • 6.3.0 to before 6.3.15Affected
  • 5.5.0 to before 5.5.21Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.