Surrealdb: Duplicate Advisory: Improper Authorization
Affects surrealdbSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 2.0.4 soon.
Data as of 30 Nov 2026, 18:36 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade surrealdb and surrealdb-core to 2.0.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iosurrealdbpkg:cargo/surrealdbOther threats | Affected
| Fixed in
|
crates.iosurrealdb-corepkg:cargo/surrealdb-coreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in SurrealDB version 2.0.4. Users should upgrade to version 2.0.4 or later to remediate this improper authorization vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
SurrealDB versions before 2.0.4 have an authorization vulnerability where field permissions are not properly enforced during SELECT, UPDATE, and DELETE operations. This allows authorized users to access field values they should not be permitted to see by exploiting various query techniques such as SELECT VALUE operations, field aliasing, and WHERE clause filtering. The vulnerability enables leakage of protected field contents despite lacking explicit SELECT permissions.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-9722-9j67-vjcr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-58367 (opens in a new tab)
- vulncheck.com/advisories/surrealdb-before-improper-authorization-via-select-permissions (opens in a new tab)
- github.com/surrealdb/surrealdb/issues/2161 (opens in a new tab)
- github.com/surrealdb/surrealdb/issues/3924 (opens in a new tab)
- github.com/surrealdb/surrealdb/pull/4785 (opens in a new tab)
- github.com/surrealdb/surrealdb/pull/4800 (opens in a new tab)
- github.com/surrealdb/surrealdb/pull/4873 (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/439ab99e15314ec5cf87047bf58246db646e3f8c (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/c382fa158dc84b329328606f663efe574f102a7d (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/e75e7736b3a028c4b6a4a4bdf00791d76f77e339 (opens in a new tab)
- github.com/surrealdb/surrealdb (opens in a new tab)
- surrealdb.com/docs/surrealdb/security/summary (opens in a new tab)
- surrealdb.com/docs/surrealql/statements/define/field (opens in a new tab)
- surrealdb.com/docs/surrealql/statements/define/table (opens in a new tab)