CVE-2026-121417
7.8 HIGHpublic exploit availablePublished 2026-11-03 · Updated 2026-11-03
AI risk analysis
- Summary
- SurrealDB versions before 3.3.0 contain a use-after-free vulnerability in its KV backends where transaction state borrowed into async closures can be freed prematurely if embedders leak dispatched futures (e.g., via mem::forget), leading to memory corruption or crashes when pool workers access deallocated memory.
- Exploitability
- Exploitation requires local access, low privileges, and deliberate misuse of the Rust embedding API—specifically leaking a future with mem::forget while dropping the transaction—making it difficult for typical attackers but feasible for malicious embedder code.
- Blast radius
- Successful exploitation could allow an attacker with local access to crash the database service or potentially execute arbitrary code via memory corruption, affecting confidentiality, integrity, and availability of the SurrealDB instance.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to SurrealDB version 3.3.0 or later, which resolves the use-after-free issue in the KV backends.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-416
Public exploit & PoC references
All references
- https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463
- https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-102201
- HIGHCVE-2026-20559
- CRITICALCVE-2026-69043
- HIGHCVE-2026-69044
- HIGHCVE-2026-83570
- HIGHCVE-2026-85874
- HIGHCVE-2026-86916
- HIGHCVE-2026-87691
Related by shared AI tags and CWE weakness class. Browse the full archive.