PoC Monitor
← All CVEs
CVE-2026-40987published 11 Jun 2026 05:03 UTCData: JSON · API

Spring Integration

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.

First public PoC 30 days beforebefore publication · 11 May 2026
Public PoCs11 on GitHub
CVSS7.1high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Spring 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.0, < 5.5.21

Fixed in 7.0.4.1, 6.5.8.1, 6.4.12, 6.3.15, 5.5.21

Mitigation

Upgrade Spring Integration to 7.0.4.1 or 6.5.8.1 or 6.4.12 or 6.3.15 or 5.5.21 or later.

Timeline

Days relative to CVE publication
-28-21-14-7t=0+7First public PoC11 May 2026 · t−30dCVE published11 Jun 2026 · t = 0

First public PoC 30 days before publication; not in CISA KEV. First PoC: daehyuh/CVE-2026-40987 (created 11 May 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
daehyuh/CVE-2026-40987 11 May 2026 −30 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /dev/null

Seen in
1 repo: daehyuh/CVE-2026-40987
Evidence
daehyuh/CVE-2026-40987/mvnw:237

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /dev/null
(?i)^/dev/null(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /dev/null
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-40987 Spring Spring Integration exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dev/null"; reference:url,poc.griffinguard.io/cve/CVE-2026-40987; classtype:web-application-attack; sid:9108287; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /dev/null
title: Spring Spring Integration exploit attempt (CVE-2026-40987)
id: gg-pocmon-cve-2026-40987-9108287
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-40987. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-40987
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/dev/null'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.40987