CVE-2026-40987: Spring Integration - Unrestricted File Upload
- Cve: CVE-2026-40987
- Name: Spring Integration - Unrestricted File Upload
- 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.
- Impact: Attackers can write arbitrary files anywhere on the client filesystem, potentially leading to code execution or system compromise.
- Remediation: Update to a version later than 7.0.4, 6.5.8, 6.4.11, 6.3.14, or 5.5.20 or the latest available version.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write, remote_code_execution
- Requirements: Attacker must control a malicious or compromised FTP/SFTP/SMB server
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L
- Epss score: 0.00218
- Epss percentile: 0.12241
- Assignee: [email protected]
- Published at: 2026-06-11T07:16:27Z
- Age in days: 166
- Modified at: 2026-09-04T18:07:41Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40987
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/daehyuh/CVE-2026-40987 | poc-in-github | 2026-05-11 |
References
| Url | Source | Tags |
|---|---|---|
| https://spring.io/security/cve-2026-40987 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vmware: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.21 | no | nvd | /v1/products/vmware/spring_integration |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| spring-projects/spring-integration | package | yes | /v1/repositories/spring-projects/spring-integration |
Index
- Repositories: 6
- Repositories high signal: 2
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-05-11
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts