CVE-2026-134289
SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output
CVSS Score
4.0
EPSS Score
0.1%
EPSS Percentile
1th
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.
| CWE | CWE-212 |
| Vendor | surrealdb |
| Product | surrealdb |
| Published | Nov 21, 2026 |
| Last Updated | Nov 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for surrealdb surrealdb
Be the first to know when new medium vulnerabilities affecting surrealdb surrealdb are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
surrealdb / surrealdb
1.0.0 < 4.0.0
References
Credits
mkjung