CVE-2026-134289
SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output
Medium · 4.1Fix available
- CVSS
- 4.1
- EPSS
- 0.11% (p0)
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-24
- Product
- surrealdb surrealdb
- Aliases
- GHSA-whfh-76h8-2r66
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
4.0.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | surrealdb | >=1.0.0, <4.0.0 | 4.0.0 |
Sources
- NVD · first seen 8d ago · NVD terms of use
- OSV · first seen 8d ago · CC-BY 4.0
- CVE List · first seen 8d ago · CVE Terms of Use
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whfh-76h8-2r66 vendor-advisory
- https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-credential-disclosure-via-cli-help-output third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134289.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134289 advisory