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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1c
- 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-a
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463
FAQ
What is CVE-2026-121417?
CVE-2026-121417 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 saf...
How severe is CVE-2026-121417?
CVE-2026-121417 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-121417?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.