{"id":"CVE-2024-58363","revision":"7eaecc670e3b441db44d54e90cfc57ba","records":[{"revision":"7eaecc670e3b441db44d54e90cfc57ba","observedAt":"2026-10-29T03:27:18.135+00:00","statement":{"source":"nvd","id":"CVE-2024-58363","aliases":[],"title":"SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. Attackers with an authenticated session can impersonate an unrelated user in a different database if a…","description":"SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. Attackers with an authenticated session can impersonate an unrelated user in a different database if a user record with an identical identifier exists, allowing unauthorized actions if permissions rely solely on the $auth parameter.","state":0,"publishedAt":"2026-07-18T14:17:09.187+00:00","modifiedAt":"2026-10-27T18:10:00.13+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-gh9f-6xm2-c4j2","https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-database-switch"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-58363","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-287"],"productCriteria":["cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha1:*:*:*:*:*:*","cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha2:*:*:*:*:*:*","cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha3:*:*:*:*:*:*","cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha4:*:*:*:*:*:*","cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha5:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-18T14:17:09.187","lastModified":"2026-10-27T18:10:00.130"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-58363","identifiers":["CVE-2024-58363"]},"retained":false,"historicalAffected":[]}],"coverage":[]}