CyberRota Analysis
AI-GeneratedSurrealDB versions prior to 2.5.0 and 3.0.0-beta.3 are vulnerable to a privilege escalation flaw that allows unprivileged users to manipulate fields containing executable code, which then runs with the permissions of the user invoking it. This could enable attackers to escalate their privileges to that of a root owner, potentially leading to complete server takeover. Organizations using affected versions should prioritize patching to mitigate the risk of unauthorized access and control.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. Unprivileged users (e.g., those with the database editor role) can create or modify fields containing futures, functions, or closures. Because these are executed in the context of the invoking/querying user rather than their creator, an attacker can plant malicious logic that executes with a higher-privileged user's permissions when that user reads or writes the affected record. This can lead to full privilege escalation, including creation of a root owner and server takeover.
Related CVEs
Other vulnerabilities affecting the same vendor(s)