Read the docs
TI-2026-45348 Aliases CVE-2026-63761GHSA-fwg2-gr34-q3w8

SurrealDB before 3.1.0 Algorithm Downgrade via ES512

Priority LOW 24CWE-327Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-327.

Summary

SurrealDB before 3.1.0 silently substitutes the ES384 algorithm when a JWT access method is configured with ALGORITHM ES512 (DEFINE ACCESS ... TYPE JWT ALGORITHM ES512), because the underlying jsonwebtoken crate (v10.x) has no ES512 variant and the mapping defaults to ES384 without any error, warning, or log message. Users who supply the correct P-521 key for ES512 experience authentication handshake failures due to the curve mismatch with ES384 (which expects P-384), and tokens are rejected by external systems expecting genuine ES512 signatures. The flaw cannot be used to forge tokens or compromise data confidentiality or integrity, as ES384 remains cryptographically strong.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00278 20th percentileScored 2026-11-07
Fix Fixed surrealdb (surrealdb): 3.1.0surrealdb (crates.io): 3.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
surrealdbsurrealdbbefore 3.1.03.1.0Patch availableCNA
—surrealdb (crates.io)before 3.1.03.1.0Patch availableGHSA-fwg2-gr34-q3w8
  • surrealdb Vendorsurrealdb Affected before 3.1.0 Fixed in 3.1.0 Patch available CNA
  • surrealdb (crates.io) Vendor— Affected before 3.1.0 Fixed in 3.1.0 Patch available GHSA-fwg2-gr34-q3w8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*before 3.1.0Vulnerablesurrealdb
  • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* Versions before 3.1.0 Vulnerable ·surrealdb

Remediation

  • Fix · CNA surrealdb (surrealdb) Fixed in 3.1.0
  • Fix · GHSA-fwg2-gr34-q3w8 surrealdb (crates.io) Fixed in 3.1.0 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    surrealdb 3.1.0

    20 records Highest priority Priority MEDIUM 4 MEDIUM, 16 LOW

    Other records, highest priority first

    • TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessionsPriority MEDIUM 46
    • TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON ParserPriority MEDIUM 44
    • TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC usePriority MEDIUM 44

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-63761
  2. 2026-10-03 Alias added: GHSA-fwg2-gr34-q3w8

References

  • TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions CVSS 4.0HIGH 8.7
  • TI-2024-38452 SurrealDB before 1.1.0 Denial of Service via HTTP Headers CVSS 4.0HIGH 8.7
  • TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON Parser CVSS 4.0HIGH 8.7
  • TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC use CVSS 4.0HIGH 8.7
  • TI-2025-43508 SurrealDB before 2.2.2 SurrealQL Injection via export CVSS 4.0CRITICAL 9.4
  • TI-2026-45343 SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition CVSS 4.0CRITICAL 9.2
See all 54 →

Sources