CVE-2026-134289 SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output
MediumCVSS 4.1
EPSS 0.11%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | >= 1.0.0, < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | >= 1.0.0, < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-whfh-76h8-2r66) vendor-advisory
- VulnCheck Advisory: SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output third-party-advisory
- ENISA EUVD EUVD-2026-132232 third-party-advisory
- nvd.nist.gov