Skip to main content
VulnerabilityPublished Updated

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

Affects surrealdbSource GCVE Database

0
Compare
Authoritative record:CVE-2025-71394· Low 2.3

Not known to be exploited · CVSS 2.3 Low : upgrade to 2.2.2 when convenient.

Data as of 1 Dec 2026, 18:36 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.02.3
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.2.2, 2.1.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade surrealdb to 2.2.2; surrealdb to 2.1.5.

Affected software

ProductAffectedFixed in
crates.iosurrealdbpkg:cargo/surrealdbOther threatsAffected
  • >=2.2.0 <2.2.2
Fixed in
  • 2.2.2
crates.iosurrealdbpkg:cargo/surrealdbOther threatsAffected
  • <2.1.5
Fixed in
  • 2.1.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…