CVE-2026-121417
highSurrealDB before 3.3.0 contains a use-after-free vulnerability in surrealdb-core KV backends that pass borrowed transaction state into affinitypool::spawn_loca…
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:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/surrealdb/surrealdb/commit/17584a181979f04f2aaad867332c22db1caa511a disclosure@vulncheck.com
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-use-after-free-via-affinitypoo... disclosure@vulncheck.com
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm86-cc75-q463 134c704f-9b21-4f2e-91b3-4a467353bcc0

