CVE-2026-134289 SurrealDB 1.0.0 before 4.0.0 Credential Disclosure via CLI Help Output

Published Updated

Anyone who later sees SurrealDB CLI help output can obtain cleartext database credentials; SurrealDB users should care.

CVSS score

Medium

4.1/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Local or same network
Admin access, a user must click or open something

What is CVE-2026-134289?

CVE-2026-134289 is a medium-severity information disclosure vulnerability in surrealdb, published on 21 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-212

How severe is CVE-2026-134289?

CVE-2026-134289 scores 4.1 out of 10 under CVSS 4.0, which is medium severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
Present
Privileges required
High
User interaction
Passive
Confidentiality
High
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-134289?

1 open source package ship an affected version, including surrealdb.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 1.0.04.0.0

How do I fix CVE-2026-134289?

Upgrade surrealdb to 4.0.0 or later.

Upgrade, and rotate any secrets that may have been exposed. More about Information disclosure.

Is CVE-2026-134289 being exploited?

There is no known exploitation of CVE-2026-134289 in the wild and no public exploit code.

Sources

Also known as GHSA-77xq-pgc2-9j9g, GHSA-whfh-76h8-2r66.

Is CVE-2026-134289 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free