Credential Disclosure in SurrealDB CLI Commands
CVE-2026-134289

4.1MEDIUM

Key Information:

Vendor

Surrealdb

Status
Vendor
CVE Published:
21 November 2026

What is CVE-2026-134289?

SurrealDB versions 1.0.0 through 1.0.9 expose sensitive information via command line interface (CLI) help commands. Environment variables such as SURREAL_PASS and SURREAL_TOKEN are displayed in plain text during the execution of commands like 'surreal start', 'sql', 'import', 'export', and 'mcp'. This flaw arises because the CLI arguments do not specify hiding environment values. Consequently, attackers can recover critical database credentials by accessing terminal logs, continuous integration logs, or shared screen outputs. Users should upgrade to SurrealDB version 4.0.0 or higher to mitigate this risk.

Affected Version(s)

surrealdb 1.0.0 < 4.0.0

surrealdb 4.0.0

References

CVSS V4

Score:
4.1
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

mkjung
.