Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

SurrealDB versions before 2.2.2 contain a local file read vulnerability in the DEFINE ANALYZER statement that allows authenticated users to read… (CVE-2025-71394)

0
Low
Published: 07/18/2026 (07/18/2026, 15:31:49 UTC)
Source: GCVE Database

Description

SurrealDB versions before 2.2.2 have a local file read vulnerability in the DEFINE ANALYZER statement. Authenticated users with root, namespace, or database privileges can exploit this flaw to read arbitrary files on the file system, specifically targeting two-column tab-separated files. The vulnerability is identified as CVE-2025-71394 and has a low severity rating with a CVSS score of 4.3.

CVSS v3.1

Score 4.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
surrealdb/surrealdb
pkg:github/surrealdb/surrealdb
Affected versions
<2.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 19:15:38 UTC

Technical Analysis

CVE-2025-71394 affects SurrealDB versions prior to 2.2.2 and allows authenticated users with sufficient privileges (root, namespace, or database level) to exploit a local file read vulnerability via the DEFINE ANALYZER statement. This flaw enables attackers to specify arbitrary file paths, leading to exfiltration of content from two-column tab-separated files on the underlying file system. The vulnerability is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory).

Potential Impact

The vulnerability allows unauthorized reading of arbitrary files by authenticated users with elevated privileges, potentially exposing sensitive data stored in two-column tab-separated files. There is no indication of impact on integrity or availability. The CVSS score of 4.3 reflects a low severity impact limited to confidentiality.

Mitigation Recommendations

A fix is available in SurrealDB version 2.2.2. Users should upgrade to version 2.2.2 or later to remediate this vulnerability. No additional mitigation guidance is provided or required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-627h-wprw-6cpg
Osv Schema Version
1.4.0
Aliases
["CVE-2025-71394"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
4.0

Threat ID: 6a5ba17e44ab8fbf7c789bb3

Added to database: 07/18/2026, 15:53:34 UTC

Last enriched: 08/13/2026, 19:15:38 UTC

Last updated: 08/29/2026, 22:52:08 UTC

Views: 129

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses