Skip to main content
← All vulnerabilities
CVE-2026-27887

Spin has memory leaks in various WIT interfaces

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.6.1, 0.6.2, 0.22.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Spin is an open source developer tool for building and running serverless applications powered by WebAssembly. When Spin is configured to allow connections to a database or web server which could return responses of unbounded size (e.g. tables with many rows or large content bodies), Spin may in some cases attempt to buffer the entire response before delivering it to the guest, which can lead to the host process running out of memory, panicking, and crashing. In addition, a malicious guest application could incrementally insert a large number of rows or values into a database and then retrieve them all in a single query, leading to large host allocations. Spin 3.6.1, SpinKube 0.6.2, and `containerd-shim-spin` 0.22.1 have been patched to address the issue. As a workaround, configure Spin to only allow access to trusted databases and HTTP servers which limit response sizes.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • spinframework spin

    fixed in 3.6.1

  • spinframework SpinKube

    fixed in 0.6.2

  • spinframework containerd-shim-spin

    fixed in 0.22.1

References 1

GitHub · spinframework/spin