Advisory record · GHSA-fwg2-gr34-q3w8

SurrealDB: ES512 silently downgraded to ES384 due to jsonwebtoken crate limitation

CVSS 5.3 MediumEPSS 0.0028 · 20th percentile

Published by the GitHub Advisory Database at 1 Jul 2026, 20:23 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
surrealdbcrates.io<3.1.03.1.0
Identifiers
GHSA-fwg2-gr34-q3w8 · CVE-2026-63761
Weakness (CWE)
CWE-327
Published
1 Jul 2026
Updated
4 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SurrealDB versions before 3.1.0 silently substitute ES384 for a configured ES512 JWT algorithm, so authentication fails for users supplying P-521 keys and tokens checked by external systems expecting real ES512 signatures. An attacker cannot use this to forge tokens, according to the source. Upgrade to SurrealDB 3.1.0 or later, which rejects new ES512 access definitions with an error; until then, reconfigure affected JWT access methods to use ES384 with a P-384 key pair or another supported algorithm.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0028, the 20th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:17 UTC First seen by agentprime
  2. 31 Oct 2026, 15:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.