SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output

State
Published
Severity
4.1 Medium
Published
Nov 21, 2026
Updated
Nov 24, 2026
Reserved
Nov 20, 2026

Read the record on cve.org

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.

ProductVersions
surrealdb surrealdb1.0.0 to before 4.0.0 Affected4.0.0 Not Affected

Weaknesses

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.