CVE-2026-63761
published medium CVSS 4.0 · 5.3SurrealDB before 3.1.0 Algorithm Downgrade via ES512
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb0 to < 3.1.0 (affected · semver) · 3.1.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 0 to < 3.1.0 (affected · semver)3.1.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
2- GitHub Security Advisory (GHSA-fwg2-gr34-q3w8) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-fwg2-gr34-q3w8
- VulnCheck Advisory: SurrealDB before 3.1.0 Algorithm Downgrade via ES512 https://www.vulncheck.com/advisories/surrealdb-before-algorithm-downgrade-via-es512
Provider assertions
2VulnCheck · cna
SurrealDB before 3.1.0 Algorithm Downgrade via ES512
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 76fc95c304bf8a7a6ab2b6a4ecac9c6466c5ab50f2079f0c8dcb7198ae2fee2a
- Ingested
- 09 Oct 2026, 16:32:33 UTC
- Source record
- Official CVE record