CVE-2026-63763: SurrealDB before 2.5.0 Privilege Escalation via Future Fields
Noroxi assessment
Priority: Monitor (action score 30/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.49% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No special conditions are required; it is repeatable.
- Fixed version: surrealdb surrealdb 2.5.0, 3.0.0-beta.3.
Low priority for now. Upgrade to surrealdb surrealdb 2.5.0, 3.0.0-beta.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. Unprivileged users (e.g., those with the database editor role) can create or modify fields containing futures, functions, or closures. Because these are executed in the context of the invoking/querying user rather than their creator, an attacker can plant malicious logic that executes with a higher-privileged user's permissions when that user reads or writes the affected record. This can lead to full privilege escalation, including creation of a root owner and server takeover.
- Published
- Jul 20, 2026
- Updated
- Jul 28, 2026
- EPSS
- 0.4% · 43th percentile
- CWE
- CWE-639
Report tools
Action score
30
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · VulnCheck
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| surrealdb | surrealdb | cpe:2.3:a:surrealdb:surrealdb |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (VulnCheck). Independent of NVD's CPE analysis and usually ahead of it.
surrealdb surrealdb
- 2.5.0, 3.0.0-beta.3not affected
- before 2.5.0affected · semver
- 3.0.0-alpha.1 and later · before 3.0.0-beta.3affected · semver
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- surrealdb surrealdbbefore 2.5.0
- surrealdb surrealdb3.0.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| crates.io | surrealdb | from 3.0.0-alpha.1 · before 3.0.0-beta.3 | 3.0.0-beta.3 |
| crates.io | surrealdb | before 2.5.0 | 2.5.0 |
Same product
surrealdb: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-71392SurrealDB before 2.2.2 SurrealQL Injection via export37Monitor
- CVE-2026-63756SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition36Monitor
- CVE-2024-58366SurrealDB before 1.1.1 Format String via Scripting Functions36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2026-63760Jul 20, 2026 · SurrealDB before 3.1.0 Denial of Service via JSON Parser34Monitor
- ← EarlierCVE-2026-63762Jul 20, 2026 · SurrealDB before v2.6.1 Denial of Service via scripting24Monitor
- Later →CVE-2026-63734Jul 20, 2026 · SurrealDB before 3.2.0 Denial of Service via malformed SurrealML import27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| surrealdb surrealdb | 2.5.0 | Vendor (CNA) |
| surrealdb surrealdb | 3.0.0-beta.3 | Vendor (CNA) |
| crates.io:surrealdb | 2.5.0 | Package registry (OSV) |
| crates.io:surrealdb | 3.0.0-beta.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-637350 days apartSurrealDB before 3.2.0 Authentication Bypass via Custom API34Monitor
- CVE-2026-10287671 days apartSurrealDB before 3.3.0 Cross-Tenant Access via Headers34Monitor
- CVE-2026-10933484 days apartSurrealDB before 3.3.0 Cross-Tenant Access via Surreal-NS/Surreal-DB Headers and RPC use34Monitor
- CVE-2026-10934384 days apartSurrealDB before 3.3.0 Cross-Tenant Access via USE Statement34Monitor
- CVE-2026-637450 days apartSurrealDB before 3.1.0 Authorization Bypass via Composite Record-id21Monitor
Not on record for this CVE: patch commit or PR link · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- P
- Scope
- X
Weakness class (CWE)
CWE-639 · Authorization Bypass Through User-Controlled KeyCVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Root cause
The endpoint fetches the record by the ID sent in the request, but never checks whether the record belongs to the requesting user.
The bug in code
The whole CWE-639 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const invoice = await Invoice.findById(req.params.id);
res.json(invoice);Fixed
const invoice = await Invoice.findOne({
id: req.params.id,
ownerId: req.user.id,
});
if (!invoice) return res.sendStatus(404);
res.json(invoice);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.