CVE-2026-134289
published medium CVSS 4.0 · 4.1SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb1.0.0 to < 4.0.0 (affected · semver) · 4.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.0 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 1.0.0 to < 4.0.0 (affected · semver)4.0.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer
References
2- GitHub Security Advisory (GHSA-whfh-76h8-2r66) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-whfh-76h8-2r66
- VulnCheck Advisory: SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output https://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-credential-disclosure-via-cli-help-output
Provider assertions
2VulnCheck · cna
SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a64c2c54e6f83b8bf75c67b3fe2d0cb22cf1c39e1adbd1c9b8fb6ac959feb2c3
- Ingested
- 24 Nov 2026, 00:54:29 UTC
- Source record
- Official CVE record