Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.integration/spring-integration-file
  4. ›
  5. CVE-2026-40987

CVE-2026-40987: Spring Integration File Support: FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem

June 11, 2026 (updated August 7, 2026)

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.

References

  • github.com/advisories/GHSA-792x-6vq6-j8r9
  • nvd.nist.gov/vuln/detail/CVE-2026-40987
  • spring.io/security/cve-2026-40987

Code Behaviors & Features

Detect and mitigate CVE-2026-40987 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 5.5.20, all versions starting from 6.3.0 up to 6.3.14, all versions starting from 6.4.0 up to 6.4.11, all versions starting from 6.5.0 before 6.5.9, all versions starting from 7.0.0 before 7.0.5

Fixed versions

  • 6.5.9
  • 7.0.5

Solution

Upgrade to versions 6.5.9, 7.0.5 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L

Learn more about CVSS

Weakness

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

Source file

maven/org.springframework.integration/spring-integration-file/CVE-2026-40987.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:01 +0000.