CVE Watchtower

CVE-2026-134289surrealdb

NVD

Vulnerability Summary

SurrealDB 1.0.0 before 4.0.0 prints SURREAL_PASS and SURREAL_TOKEN environment variable values in clear text in the --help and -h output of CLI commands such as surreal start, sql, import, export, and mcp, because the arguments do not set clap's hide_env_values. Anyone who later sees that terminal output, for example in shell logs, CI logs, or screen shares, can obtain root database credentials.
Severity Level
MEDIUM(4.1)
Published Date
Nov 21, 2026
Last Modified
Nov 21, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
See the MITRE CWE entry for the full definition of this weakness.
CVSS v4.0 Base Metrics — Score 4.1 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredHigh
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.0)
CVSS v3.1 Base Metrics — Score 4.0 (MEDIUM)
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • surrealdb >= 1.0.0 and < 4.0.0
Patched Versions
  • surrealdb 4.0.0

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run surrealdb and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 21, 2026Published
  • Nov 21, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new surrealdb CVEsYou are reading CVE-2026-134289. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More surrealdb CVEs

Data last checked: Nov 21, 2026 19:08 UTC