Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-121417— SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends

Quick assessment

Affected
surrealdb surrealdb
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SurrealDB 3.3.0 之前的版本在 surrealdb-core 的 KV 后端中存在一个“释放后使用”(use-after-free)漏洞。该漏洞发生在将借用(borrowed)的事务状态传入 闭包时,这些闭包依赖未来的 操作来确保安全。如果 Rust 嵌入者泄露了已调度的 Future(例如通过 ),随后又丢弃了事务,就会导致线程池工作线程读取或写入已被释放的内存,从而引发程序崩溃或内存损坏。

CVSS 7.8 · High

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-121417

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends
Source: CVE Program / CVE List V5
Vulnerability Description
SurrealDB before 3.3.0 contains a use-after-free vulnerability in surrealdb-core KV backends that pass borrowed transaction state into affinitypool::spawn_local closures relying on future Drop for safety. Rust embedders that leak a dispatched future (e.g. via mem::forget) and drop the transaction cause pool workers to read and write freed memory, risking crashes or memory corruption.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
surrealdb surrealdb 0 ~ 3.3.0 -

II. Public POCs for CVE-2026-121417

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-121417

请登录查看更多情报信息。

Other References for CVE-2026-121417 (3)

Same Patch Batch · surrealdb · 2026-11-03 · 8 CVEs total

CVE-2026-121419 8.1 HIGH SurrealDB 3.1.0 before 3.3.0 MCP Session Hijack via BoundSubject Collision
CVE-2026-121416 7.1 HIGH SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations
CVE-2026-121423 6.5 MEDIUM SurrealDB before 3.3.0 DoS via Unbounded Recursion in val::Value Serialization
CVE-2026-121418 4.3 MEDIUM SurrealDB 3.1.0 before 3.3.0 Incorrect Authorization via Streaming Index Planner
CVE-2026-121421 4.3 MEDIUM SurrealDB 3.1.0 before 3.3.0 SSRF via Port-Specific --deny-net Host Aliasing Bypass
CVE-2026-121422 4.1 MEDIUM SurrealDB from 3.1.0 before 3.3.0 SSRF via JWKS Implicit Default Port Bypass
CVE-2026-121420 3.3 LOW SurrealDB 3.2.0 before 3.3.0 SSRF Guard Bypass via IPv6 Transition Addresses

IV. Related Vulnerabilities