WaratekVRT Sign in

CVE-2026-40987 Spring Integration

Affected softwareSpring Integration
Severity7.1 High CVSS 3.1
Fixed in7.0.5, 6.5.9
WeaknessPath traversal (CWE-22)
Published11 Jun 2026
Updated4 Sep 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.22% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC CVE-2026-40987 PoC 2026-05-11

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2026-40987

Upgrade Spring Integration to a release that fixes it: 7.0.5 or 6.5.9. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.integration:spring-integration-file 7.0.0 7.0.5 unbounded
org.springframework.integration:spring-integration-file 6.5.0 6.5.9 unbounded
org.springframework.integration:spring-integration-file 6.4.0 none 6.4.11
org.springframework.integration:spring-integration-file 6.3.0 none 6.3.14
org.springframework.integration:spring-integration-file 0 none 5.5.20

Products and versions

2 products, 10 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.integration spring-integration-file generic ≤ 5.5.20 · ≥ 6.3.0 and ≤ 6.3.14 · ≥ 6.4.0 and ≤ 6.4.11 · ≥ 6.5.0 and < 6.5.9 · ≥ 7.0.0 and < 7.0.5
nvd vmware spring integration generic < 5.5.21 · ≥ 6.3.0 and < 6.3.15 · ≥ 6.4.0 and < 6.4.12 · ≥ 6.5.0 and < 6.5.8.1 · ≥ 7.0.0 and < 7.0.4.1

References

URLTags
https://github.com/spring-projects/spring-integration PACKAGE
https://spring.io/security/cve-2026-40987 WEB

Timeline

Published2026-06-11By the CVE Program.
NVD record modified2026-09-04NVD's own last-modified date for this record.