CVE-2026-63761: SurrealDB · ES512 silently downgraded to ES384 due to jsonwebtoken crate limitation
Affects surrealdbSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium : upgrade to 3.1.0 when convenient.
Data as of 4 Dec 2026, 18:37 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 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 5 Dec 2026.
What to do
Upgrade surrealdb to 3.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iosurrealdb | 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 patch is available in SurrealDB version 3.1.0 that blocks the use of ES512 with clear error messages and adds deprecation warnings for existing ES512 configurations. Users should upgrade to version 3.1.0 or later. Additionally, users should review and update any DEFINE ACCESS statements specifying ALGORITHM ES512 to use supported algorithms such as ES384 with the appropriate P-384 key pair.
Description
SurrealDB versions prior to 3.1.0 silently downgrade the ES512 JWT algorithm to ES384 due to a limitation in the underlying jsonwebtoken crate, causing authentication handshake failures when using the correct P-521 key type. This does not allow token forgery or compromise data integrity, but results in failed authentication when external systems expect true ES512 signatures. The issue is fixed in SurrealDB 3.1.0, which blocks use of ES512 with clear errors and deprecation warnings. Users should update to 3.1.0 or later and reconfigure JWT access methods to supported algorithms such as ES384.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-fwg2-gr34-q3w8 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63761 (opens in a new tab)
- github.com/surrealdb/surrealdb/pull/7226 (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/bd043d73dad583219d7df2b91f81ab0054c53730 (opens in a new tab)
- github.com/surrealdb/surrealdb (opens in a new tab)
- vulncheck.com/advisories/surrealdb-before-algorithm-downgrade-via-es512 (opens in a new tab)