SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 3, 2026
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.
| Product | Versions |
|---|---|
| surrealdb surrealdb | 2.0.0 to before 3.3.1 Affected3.3.1 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 7.1 High | VulnCheck |
Weaknesses
- CWE-284 Improper Access Control
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.