CVE-2026-134289 — Surrealdb Surrealdb — CWE-212
CVE-2026-134289 is a MEDIUM severity security vulnerability (CWE-212) (CVSS 4.0/10) affecting Surrealdb Surrealdb. Technical vector analysis shows that an attacker can exploit this flaw via local access (AV:L) with high privileges (PR:H) requiring user interaction, allowing unauthorized disclosure of sensitive data (C:H).
📄 Official NVD / MITRE Original Record Text
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.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-134289
CVSS 4/10 · MEDIUM · 21.11.2026
CWE: CWE-212
Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS 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.
Affected: surrealdb:surrealdb
⚡ ATTACK CHAIN
Local/physical access | admin account | user interaction required.
🌍 REAL WORLD IMPACT
All confidential data readable/stealable.
🛡️ REMEDIATION
→ Apply vendor security update for surrealdb:surrealdb.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
📋 Routine update cycle (30 days)
────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]
FOFA Query