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.
| Package | Affected | Fixed in |
|---|---|---|
surrealdb crates.iopkg:cargo/surrealdb | From 1.0.0 | 4.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.