CVE-2026-134289
JSON

4.1medium

SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output

Severity
4.1medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

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

Product or packageVersionsReported by
surrealdb surrealdbfrom 1.0.0 before 4.0.0
Not affected: 4.0.0
CVE List

All scores

VulnCheck4.1medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-212

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134289 changed 2026-11-24CVE Terms of Use
NVDCVE-2026-134289 changed 2026-11-24Public domain