CVE-2026-134289surrealdb
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 4.1 (MEDIUM)
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredHigh
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.0)
CVSS v3.1 Base Metrics — Score 4.0 (MEDIUM)
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:NAttack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- surrealdb >= 1.0.0 and < 4.0.0
- surrealdb 4.0.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run surrealdb and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 21, 2026Published
- Nov 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new surrealdb CVEsYou are reading CVE-2026-134289. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore surrealdb CVEs
External References
Data last checked: Nov 21, 2026 19:08 UTC