Advisory record · GHSA-cc8f-fcx3-gpjr

SurrealDB: Arbitrary file read via DEFINE ANALYZER mapper() filter

CVSS 8.3 HighEPSS 0.0048 · 41st percentile

Published by the GitHub Advisory Database at 19 Jun 2026, 22:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
surrealdbcrates.io<3.1.53.1.5
Identifiers
GHSA-cc8f-fcx3-gpjr · CVE-2026-63739
Weakness (CWE)
CWE-22 · CWE-209
Published
19 Jun 2026
Updated
4 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SurrealDB versions before 3.1.5 are vulnerable to arbitrary file read through the mapper filter of DEFINE ANALYZER. A database user with the EDITOR or OWNER role can make the server return the first line of any file the SurrealDB process can read, in a query error message. Upgrade the surrealdb crate to 3.1.5, which denies file access when no SURREAL_FILE_ALLOWLIST is configured. Until then, set SURREAL_FILE_ALLOWLIST to a directory holding only the intended mapping files, and grant EDITOR and OWNER roles only to trusted users.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.3 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0048, the 41st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:18 UTC First seen by agentprime
  2. 31 Oct 2026, 15:18 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.