GHSA-4vgr-h27g-cf9p
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb --precise 3.1.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| surrealdb | crates.io | All versions | 3.1.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-362
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4vgr-h27g-cf9pWEB
- https://github.com/surrealdb/surrealdb/commit/2f53e6e86d1b87e38300e714cfd7aede1abe4c3dWEB
- https://github.com/surrealdb/surrealdb/commit/fd800fc7c55afcdc97057d18cf7cb7f83557e702WEB
- https://github.com/surrealdb/surrealdbPACKAGE
Frequently Asked Questions
- What is GHSA-4vgr-h27g-cf9p?
- SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by GHSA-4vgr-h27g-cf9p?
- GHSA-4vgr-h27g-cf9p affects surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-4vgr-h27g-cf9p and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Related CVEs
- CVE-2025-71392CRITICAL
SurrealDB server-takeover via SurrealQL injection on backup import
- CVE-2024-58367HIGH
Improper Authorization in Select Permissions
- CVE-2024-58368HIGH
Uncaught Exception processing HTTP Headers in SurrealDB
- CVE-2024-58365MEDIUM
Uncaught Exception in Macro Expecting Native Function to Exist
- CVE-2025-11060MEDIUM
SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions
- CVE-2024-58364MEDIUM
Uncaught Exception Handling Parsing Errors on Line Terminators
- CVE-2024-58363MEDIUM
SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
- CVE-2024-58357MEDIUM
SurrealDB has an Uncaught Exception in Function Generating Random Time
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies