Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-71394— SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER

CVSS 2.3 · Low EPSS 0.25% · P16

Possible ATT&CK Techniques 1AI

T1083 · File and Directory Discovery

Affected Version Matrix 4

VendorProductVersion RangeStatus
surrealdbsurrealdb< 2.2.2affected
2.2.2unaffected
< 2.1.5affected
2.1.5unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-71394

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SurrealDB before 2.2.2 Local File Read via DEFINE ANALYZER
Source: CVE Program / CVE List V5
Vulnerability Description
SurrealDB versions before 2.2.2 contain a local file read vulnerability in the DEFINE ANALYZER statement that allows authenticated users to read arbitrary files on the file system. Attackers with root, namespace, or database level privileges can point analyzers to arbitrary file paths and exfiltrate content from two-column tab-separated files.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
SurrealDB 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
surrealdb是SurrealDB公司开源的一个文档图数据库。 SurrealDB 2.2.2之前版本存在路径遍历漏洞,该漏洞源于DEFINE ANALYZER语句中存在本地文件读取问题,可能导致具有root、namespace或database级别权限的经过身份验证的攻击者将分析仪指向任意文件路径,并从两列制表符分隔文件中读取任意文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
surrealdbsurrealdb 0 ~ 2.2.2 -
surrealdbsurrealdb 0 ~ 2.1.5 -

II. Public POCs for CVE-2025-71394

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-71394

登录查看更多情报信息。

Vendor Advisories for CVE-2025-71394 (2)

Same Patch Batch · surrealdb · 2026-07-18 · 24 CVEs total

CVE-2025-713929.4 CRITICALSurrealDB before 2.2.2 SurrealQL Injection via export
CVE-2024-583628.8 HIGHSurrealDB before 1.5.5 Query Injection via RPC API
CVE-2023-543668.8 HIGHSurrealDB before 1.0.1 Insecure Default Table Permissions
CVE-2024-583668.5 HIGHSurrealDB before 1.1.1 Format String via Scripting Functions
CVE-2024-583687.5 HIGHSurrealDB before 1.1.0 Denial of Service via HTTP Headers
CVE-2025-713957.1 HIGHSurrealDB before 2.2.2 Memory Exhaustion via string::replace
CVE-2025-713977.1 HIGHSurrealDB before 2.2.2 CPU Exhaustion via nested FOR loops
CVE-2025-713917.1 HIGHSurrealDB before 2.2.2 Denial of Service via /sql endpoint
CVE-2024-583677.1 HIGHSurrealDB before 2.0.4 Improper Authorization via SELECT Permissions
CVE-2024-583656.5 MEDIUMSurrealDB before 1.2.0 Denial of Service via Nonexistent Function
CVE-2024-583696.5 MEDIUMSurrealDB before 1.1.1 Denial of Service via Global Parameters
CVE-2024-583616.5 MEDIUMSurrealDB before 2.0.4 Denial of Service via Parser Exception
CVE-2024-583706.5 MEDIUMSurrealDB before 1.1.0 Uncontrolled Recursion Denial of Service
CVE-2024-583576.5 MEDIUMSurrealDB before 2.1.0 Denial of Service via rand::time()
CVE-2024-583596.5 MEDIUMSurrealDB before 2.1.0 Denial of Service via rand() Sorting
CVE-2024-583646.5 MEDIUMSurrealDB before 1.2.1 Denial of Service via Parsing Error
CVE-2024-583636.3 MEDIUMSurrealDB before 1.5.4 Authentication Bypass via Database Switch
CVE-2025-713936.0 MEDIUMSurrealDB before 2.2.2 Memory Exhaustion via Nested Functions
CVE-2025-713985.8 MEDIUMSurrealDB before 2.2.2 SSRF via HTTP Redirect Bypass
CVE-2025-713905.8 MEDIUMSurrealDB before 2.3.6 deny-net Bypass via DNS Resolution

Showing top 20 of 24 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-71394

No comments yet


Leave a comment