Skip to content
Medium 4.1

SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output

CVE-2026-134289 First seen on SecPulse

Affected packages

PackageAffected → Fixed
surrealdbsurrealdb
≥ 1.0.0, < 4.0.0→ 4.0.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details