CVE-2026-40987

Source
https://cve.org/CVERecord?id=CVE-2026-40987
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40987.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40987
Aliases
Downstream
Published
2026-06-11T05:03:32Z
Modified
2026-09-06T03:45:31Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L CVSS Calculator
Summary
Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization
Details

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.

Database specific
{
    "cna_assigner": "vmware",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40987.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "7.0.0"
                },
                {
                    "fixed": "7.0.4.1"
                },
                {
                    "introduced": "6.5.0"
                },
                {
                    "fixed": "6.5.8.1"
                },
                {
                    "introduced": "6.4.0"
                },
                {
                    "fixed": "6.4.12"
                },
                {
                    "introduced": "6.3.0"
                },
                {
                    "fixed": "6.3.15"
                },
                {
                    "introduced": "5.5.0"
                },
                {
                    "fixed": "5.5.21"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.0.0"
                },
                {
                    "fixed": "7.0.4"
                },
                {
                    "introduced": "6.5.0"
                },
                {
                    "fixed": "6.5.8"
                },
                {
                    "introduced": "6.4.0"
                },
                {
                    "fixed": "6.4.11"
                },
                {
                    "introduced": "6.3.0"
                },
                {
                    "fixed": "6.3.14"
                },
                {
                    "introduced": "5.5.0"
                },
                {
                    "fixed": "5.5.20"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/spring-projects/spring-integration

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-integration
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.4"
        },
        {
            "introduced": "6.5.0"
        },
        {
            "fixed": "6.5.8"
        },
        {
            "introduced": "5.5.0"
        },
        {
            "fixed": "5.5.20"
        }
    ],
    "source": "DESCRIPTION"
}

Affected versions

v5.*
v5.5.0
v5.5.1
v5.5.10
v5.5.11
v5.5.13
v5.5.14
v5.5.15
v5.5.16
v5.5.17
v5.5.18
v5.5.19
v5.5.2
v5.5.3
v5.5.4
v5.5.5
v5.5.6
v5.5.8
v5.5.9
v6.*
v6.5.0
v6.5.1
v6.5.2
v6.5.3
v6.5.4
v6.5.5
v6.5.6
v6.5.7
v7.*
v7.0.0
v7.0.1
v7.0.2
v7.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40987.json"