CVE-2026-121416
published high CVSS 4.0 · 7.1SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb2.0.0 to < 3.3.1 (affected · semver) · 3.3.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 2.0.0 to < 3.3.1 (affected · semver)3.3.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-284 Improper Access Control
References
2- GitHub Security Advisory (GHSA-p296-7pr4-87rr) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p296-7pr4-87rr
- VulnCheck Advisory: SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations https://www.vulncheck.com/advisories/surrealdb-2.0.0-before-3.3.1-deny-funcs-capability-bypass-via-method-style-invocations
Provider assertions
2VulnCheck · cna
SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 899ea348ffd1d42cad2ff997e8cf434c0aabcc79d70de05c457e5e5edd1a4edd
- Ingested
- 03 Nov 2026, 18:36:16 UTC
- Source record
- Official CVE record