CVE-2026-40987: Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization
Vulnerability summary
CVE-2026-40987 is a high (CVSS 7.1) vulnerability in spring spring integration. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 21.1% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 11-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Org.springframework.integration1 product
- spring-integration-file≥ 7.0.0, < 7.0.5 | ≥ 6.5.0, < 6.5.9 | ≥ 6.4.0, ≤ 6.4.11 | ≥ 6.3.0, ≤ 6.3.14 | ≤ 5.5.20
Spring1 product
- spring integration≥ 7.0.0, < 7.0.4.1 | ≥ 6.5.0, < 6.5.8.1 | ≥ 6.4.0, < 6.4.12 | ≥ 6.3.0, < 6.3.15 | ≥ 5.5.0, < 5.5.21
Vmware1 product
- spring_integration< 5.5.21 | ≥ 6.3.0, < 6.3.15 | ≥ 6.4.0, < 6.4.12 | ≥ 6.5.0, < 6.5.8.1 | ≥ 7.0.0, < 7.0.4.1
3 vendors · 3 products