---
id: CVE-2026-40987
title: >-
  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.…
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.…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L'
cwe:
  - CWE-22
vendor: vmware
product: spring_integration
affected:
  - spring_integration < 5.5.21
  - 'spring_integration >= 6.3.0, < 6.3.15'
  - 'spring_integration >= 6.4.0, < 6.4.12'
  - 'spring_integration >= 6.5.0, < 6.5.8.1'
  - 'spring_integration >= 7.0.0, < 7.0.4.1'
patched:
  - spring_integration 7.0.4.1
published: '2026-06-11'
updated: '2026-09-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-40987'
references:
  - url: 'https://spring.io/security/cve-2026-40987'
    label: security@vmware.com
tags:
  - nvd
  - exploit-available
epss: 0.00218
epssPercentile: 0.12477
ingestedAt: '2026-09-05T13:39:55.139Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/daehyuh/CVE-2026-40987'
  checkedAt: '2026-09-24T07:53:03.208Z'
exploitAvailable: true
---

## Overview

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.

## Affected

- `spring_integration < 5.5.21`
- `spring_integration >= 6.3.0, < 6.3.15`
- `spring_integration >= 6.4.0, < 6.4.12`
- `spring_integration >= 6.5.0, < 6.5.8.1`
- `spring_integration >= 7.0.0, < 7.0.4.1`

## Remediation

Upgrade past the affected range:

- `spring_integration 7.0.4.1`
