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…
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.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Surrealdb
- Product
- surrealdb
- CVSS v3.1
- 4.0 AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
- Weakness
- CWE-212
- Exposure class
- Database
- NVD status
- Deferred
Why it ranks 23 (Routine)
- CVSS v3.1 4.0 medium
- Product class: database
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.