CVE-2026-40987 json
Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization
published 2026-06-11 4 mo ago modified 2026-09-04 2 mo ago also GHSA-792x-6vq6-j8r9 , EUVD-2026-36202
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.springframework.integration:spring-integration-file 6.5.9, 7.0.5
- Spring Spring Integration 5.5.21, 6.3.15, 6.4.12, 6.5.8.1, 7.0.4.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-40987 updated cvss 7.1
Spring Integration: Spring Integration: Arbitrary file write via malicious server
-
Red Hat Fuse 7 spring-integration-core, spring-integration-httpaffected: workaround, no fix planned “Will not fix”
-
Red Hat Data Grid 8 spring-integration-core, spring-integration-file, spring-integration-sftp Red Hat JBoss Enterprise Application Platform Expansion Pack spring-integration-core, spring-integration-file, spring-integration-sftpnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.integration: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 |
7.0.5 6.5.9 |
Affected products
- Spring Spring Integration
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
spring.io
/security/cve-2026-40987
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-40987
advisory
-
github.com
/spring-projects/spring-integration
package
Sources
- CVE List CVE-2026-40987
- GitHub Advisory GHSA-792x-6vq6-j8r9
- NVD CVE-2026-40987
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.