Home / Spring / Spring Integration / CVE-2026-40987
CVE-2026-40987: is it exploited, and which versions of Spring Integration are affected and fixed?
CVE-2026-40987 is a path traversal (reading or writing files outside the intended folder) vulnerability in Spring Integration. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: org.springframework.integration:spring-integration-file from 7.0.0 before 7.0.5, org.springframework.integration:spring-integration-file from 6.5.0 before 6.5.9, org.springframework.integration:spring-integration-file through 6.4.11 and 2 more (GitHub advisory GHSA-792x-6vq6-j8r9). Fixed in 7.0.5 and 6.5.9 (GitHub advisory GHSA-792x-6vq6-j8r9). Severity: High (7.1, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-40987?
Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization
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.
From the CVE record by vmware, last updated June 23, 2026, 19:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Spring | Spring Integration | from 7.0.0 before 7.0.4.1 from 6.5.0 before 6.5.8.1 from 6.4.0 before 6.4.12 from 6.3.0 before 6.3.15 from 5.5.0 before 5.5.21 | 7.0.4.1, 6.5.8.1, 6.4.12, 6.3.15, 5.5.21 |
As the CVE record by vmware states it, last updated June 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.springframework.integration:spring-integration-file | >= 7.0.0, < 7.0.5 | 7.0.5 | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | >= 6.5.0, < 6.5.9 | 6.5.9 | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | >= 6.4.0, <= 6.4.11 | none listed | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | >= 6.3.0, <= 6.3.14 | none listed | GHSA-792x-6vq6-j8r9 |
| Maven | org.springframework.integration:spring-integration-file | <= 5.5.20 | none listed | GHSA-792x-6vq6-j8r9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 7, 2026. Summary: Spring Integration File Support: FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| vmware | spring integration | before 5.5.21 | application |
| vmware | spring integration | from 6.3.0 before 6.3.15 | application |
| vmware | spring integration | from 6.4.0 before 6.4.12 | application |
| vmware | spring integration | from 6.5.0 before 6.5.8.1 | application |
| vmware | spring integration | from 7.0.0 before 7.0.4.1 | application |
NVD analysis (status Analyzed), last modified September 4, 2026, 18:07 UTC.
How severe is CVE-2026-40987?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40987 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 11, 2026)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 21.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- April 16, 2026
- Published
- June 11, 2026, 05:03 UTC
- CVE record updated
- June 23, 2026, 19:45 UTC by vmware
- NVD
- Analyzed, last modified September 4, 2026, 18:07 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Spring Integration?
- Dec 2, 2026CVE-2026-59444 Spring Integration: deserialization of untrusted data
- Dec 2, 2026CVE-2026-59443 Spring Integration: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-59438 Spring Integration: deserialization of untrusted data
- Dec 2, 2026CVE-2026-59416 Spring Integration: improper Neutralization of CRLF Sequences
- Dec 2, 2026CVE-2026-59405 Spring Integration
- Dec 2, 2026CVE-2026-59383 Spring Integration
- Dec 2, 2026CVE-2026-59382 Spring Integration
- Dec 2, 2026CVE-2026-59381 Spring Integration
Every CVE in Spring Integration
Questions about CVE-2026-40987
Is CVE-2026-40987 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Spring Integration are affected by CVE-2026-40987?
org.springframework.integration:spring-integration-file from 7.0.0 before 7.0.5, org.springframework.integration:spring-integration-file from 6.5.0 before 6.5.9, org.springframework.integration:spring-integration-file through 6.4.11, org.springframework.integration:spring-integration-file through 6.3.14 and org.springframework.integration:spring-integration-file through 5.5.20, per the GitHub advisory GHSA-792x-6vq6-j8r9. The tables above give every range the sources list.
Which version fixes CVE-2026-40987?
7.0.5 and 6.5.9, per the GitHub advisory GHSA-792x-6vq6-j8r9. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40987?
High (7.1, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40987?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.