{"id":"CVE-2024-58358","published":"2026-07-18T13:10:02Z","modified":"2026-07-28T01:47:47Z","title":"SurrealDB before 2.1.0 Denial of Service via Nonexistent Role","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"SurrealDB versions before 2.1.0 contain a denial of service vulnerability in role conversion that allows privileged owner users to define users with nonexistent roles. Attackers can trigger an uncaught panic by signing in with a user assigned an invalid role, crashing the server.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00472,"percentile":0.4171,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jc55-246c-r88f","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-role","tags":["third-party-advisory"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":8.34},{"name":"CVSS severity","points":3.43}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["< 2.1.0"]},{"vendor":"surrealdb","product":"surrealdb","versions":["< 2.1.0"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["2.1.0"]},{"vendor":"surrealdb","product":"surrealdb","versions":["2.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-20T13:40:16.867765Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"surrealdb","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-jc55-246c-r88f"],"provenance":"source"},{"ecosystem":"crates.io","package":"surrealdb-core","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-jc55-246c-r88f"],"provenance":"source"}],"summary":{"text":"SurrealDB versions before 2.1.0 contain a denial of service flaw in role conversion within the surrealdb product. An attacker with privileged owner access can define users assigned to nonexistent roles, and signing in as such a user triggers an uncaught panic that crashes the server, requiring network access and high privileges but no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:05Z"},"euvd":{"id":"EUVD-2024-55675","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-54366","published":"2026-07-18","fixed":"1.0.1","kev":false},{"cve":"CVE-2024-58368","published":"2026-07-18","fixed":"1.1.0","kev":false},{"cve":"CVE-2024-58367","published":"2026-07-18","fixed":"2.0.4","kev":false,"link":{"from":"CVE-2024-58367","to":"CVE-2024-58358","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb-core","fromFixed":"2.0.4","toFixed":"2.1.0","daysApart":0}]}},{"cve":"CVE-2024-58358","published":"2026-07-18","fixed":"2.1.0","kev":false},{"cve":"CVE-2024-58356","published":"2026-07-18","fixed":"2.1.4","kev":false,"link":{"from":"CVE-2024-58358","to":"CVE-2024-58356","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb","fromFixed":"2.1.0","toFixed":"2.1.4","daysApart":0},{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb-core","fromFixed":"2.1.0","toFixed":"2.1.4","daysApart":0}]}},{"cve":"CVE-2025-71392","published":"2026-07-18","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2025-71392","to":"CVE-2024-58358","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:surrealdb","fromFixed":"2.0.5","toFixed":"2.1.0","daysApart":0}]}},{"cve":"CVE-2025-71398","published":"2026-07-18","fixed":"2.2.2","kev":false}],"package":"crates.io:surrealdb"}}