SurrealDB
SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge
SurrealDB 1.0.0 before 4.0.0 contains a capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions from embedded JavaScript.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.0.0, < 4.0.0
Fixed in 4.0.0
Mitigation
Upgrade surrealdb to 4.0.0 or later.
References
- Vendor advisory github.com/surrealdb/surrealdb/security/adviso…
Timeline
Days relative to CVE publicationFirst public PoC 2.4 days after publication; not in CISA KEV. First PoC: cveForge/CVE-2026-134292 (created 24 Nov 2026, found by us: 24 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| cveForge/CVE-2026-134292 | 24 Nov 2026 +2.4 d | 24 Nov 2026 | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /signin
- Body markers
"user""pass"inapplication/json- Ports
- 8000
- Seen in
- 1 repo: cveForge/CVE-2026-134292
- Evidence
- cveForge/CVE-2026-134292/poc.py:36
POST /sql
- Key headers
Authorization: Bearer {var}Db: testNs: test- Content-Type
application/json- Ports
- 8000
- Seen in
- 1 repo: cveForge/CVE-2026-134292
- Evidence
- cveForge/CVE-2026-134292/poc.py:61
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/signin(?:[?#].*)?$
(?i)^/sql(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-134292 surrealdb surrealdb exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/signin"; http.request_body; content:"|22|user|22|"; http.request_body; content:"|22|pass|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-134292; classtype:web-application-attack; sid:9240443; rev:1;)
alert http any any -> $HOME_NET [8000] (msg:"GG PoC-Monitor CVE-2026-134292 surrealdb surrealdb exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/sql"; http.header; content:"Authorization: Bearer "; nocase; http.header; content:"Db: test"; nocase; http.header; content:"Ns: test"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-134292; classtype:web-application-attack; sid:9542463; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: surrealdb surrealdb exploit attempt (CVE-2026-134292)
id: gg-pocmon-cve-2026-134292-9240443
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-134292. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-134292
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/signin'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.134292
title: surrealdb surrealdb exploit attempt (CVE-2026-134292)
id: gg-pocmon-cve-2026-134292-9542463
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-134292. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-134292
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/sql'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.134292