CVE-2026-121416
Description
SurrealDB 2.0.0 before 3.3.1 does not enforce --deny-funcs restrictions on method-style function calls in the streaming engine, because MethodPart::evaluate invokes resolved functions without a capability check. Authenticated users who can submit queries can run denied functions via method syntax, e.g. [1,2].map() or $f.put()/$f.get() to write and read file bucket data despite file::* denials.
How to fix
- surrealdb surrealdb3.3.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | 2.0.0 ≤ v < 3.3.1 | 3.3.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.