{
  "id": "CVE-2026-40987",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-40987",
  "published_at": "2026-06-11T05:03:32.606Z",
  "title": "Remote-file synchronizer in Spring Integration writes server-supplied filename under localDirectory without canonicalization",
  "vendor": "Spring",
  "product": "Spring Integration",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-11T18:17:53Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -30.4,
    "repo": "daehyuh/CVE-2026-40987",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\nAffected versions:\nSpring 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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [
    {
      "repo": "daehyuh/CVE-2026-40987",
      "url": "https://github.com/daehyuh/CVE-2026-40987",
      "created_at": "2026-05-11T18:17:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-08-11T07:14:34Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Spring",
        "product": "Spring Integration",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.0.4.1",
          "\u003e= 6.5.0, \u003c 6.5.8.1",
          "\u003e= 6.4.0, \u003c 6.4.12",
          "\u003e= 6.3.0, \u003c 6.3.15",
          "\u003e= 5.5.0, \u003c 5.5.21"
        ],
        "fixed_in": [
          "7.0.4.1",
          "6.5.8.1",
          "6.4.12",
          "6.3.15",
          "5.5.21"
        ]
      }
    ],
    "upgrade": [
      "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."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/dev/null",
      "protocol": "http",
      "repos": [
        "daehyuh/CVE-2026-40987"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "daehyuh/CVE-2026-40987/mvnw:237"
      ]
    }
  ],
  "rules": []
}
