P3 · MediumCVSS 4.0
SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output
- CVE-2026-134289
- GHSA-77xq-pgc2-9j9g
- EUVD-2026-132232
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.
Text from the CVE.org record.
Affected
surrealdb
- from 1.0.0 to before 4.0.0
- 4.0.0: not affected
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.