Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-27887

MEDIUM 6.9EPSS 33%

Spin has memory leaks in various WIT interfaces

Mitigation

  • Upgrade spin to 3.6.1 or later.
  • Upgrade SpinKube to 0.6.2 or later.
  • Upgrade containerd-shim-spin to 0.22.1 or later.

Who should check

  • Anyone running spinframework spin < 3.6.1
  • Anyone running spinframework SpinKube < 0.6.2
  • Anyone running spinframework containerd-shim-spin < 0.22.1

Vulnerability facts

Affected
spinframework spin < 3.6.1; spinframework SpinKube < 0.6.2; spinframework containerd-shim-spin < 0.22.1
Fixed in
spinframework spin 3.6.1, spinframework SpinKube 0.6.2, spinframework containerd-shim-spin 0.22.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: Passive
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: High
EPSS
0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
CWE
CWE-770, CWE-774, CWE-789
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
spinframework spin< 3.6.1—cvelist
spinframework SpinKube< 0.6.2—cvelist
spinframework containerd-shim-spin< 0.22.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-27887. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27887.md
Affected: spinframework spin < 3.6.1; spinframework SpinKube < 0.6.2; spinframework containerd-shim-spin < 0.22.1
Fixed in: spinframework spin 3.6.1, spinframework SpinKube 0.6.2, spinframework containerd-shim-spin 0.22.1

Steps:
1. Search this machine and project for spinframework spin, spinframework SpinKube, spinframework containerd-shim-spin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-27887 being exploited?

There is no confirmed exploitation: CVE-2026-27887 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-27887?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-27887?

spinframework spin < 3.6.1; spinframework SpinKube < 0.6.2; spinframework containerd-shim-spin < 0.22.1.

Is there a fix for CVE-2026-27887?

Yes. Fixed in spinframework spin 3.6.1, spinframework SpinKube 0.6.2, spinframework containerd-shim-spin 0.22.1. Upgrade spin to 3.6.1 or later. Upgrade SpinKube to 0.6.2 or later. Upgrade containerd-shim-spin to 0.22.1 or later.

How do I check if I'm affected by CVE-2026-27887?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors