CVE-2026-121417
SurrealDB before 3.3.0 Use-After-Free via affinitypool spawn_local in KV Backends
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-416 |
| Vendor | surrealdb |
| Product | surrealdb |
| Published | Nov 3, 2026 |
Stay Ahead of the Next One
Get instant alerts for surrealdb surrealdb
Be the first to know when new high vulnerabilities affecting surrealdb surrealdb are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
surrealdb / surrealdb
0 < 3.3.0
References
github.com: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463 github.com: https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a vulncheck.com: https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypool-spawn-local-in-kv-backends
Credits
๐ YZL0v3ZZ