CVE-2026-40091: SpiceDB DataStore Connection URI Leakage in Startup Logs

github.com/authzed/spicedb Updated 15 Apr 2026

Summary

14/04/2026
Yes i
Moderate
6.0

CVE-2026-40091: SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs. Affects github.com/authzed/spicedb versions >= 1.49.0, < 1.51.1. Fixed in 1.51.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

SpiceDB is an open-source database designed for managing permissions and authorization in applications. It provides a flexible and scalable way to handle complex access control scenarios. However, a recent vulnerability has been identified that exposes sensitive information during the startup process, specifically the DataStore Connection URI, which may include plaintext passwords.

Vulnerability Detail

The vulnerability arises when SpiceDB is started with the log level set to 'info'. In this mode, the startup logs include a configuration log that reveals the full DataStore Connection URI, which can contain sensitive information such as plaintext passwords. This leakage can lead to unauthorized access to the database if an attacker gains access to the logs, posing a significant security risk.

How To Fix

Latest published version: v1.57.0 as of 23 Oct 2026

go get github.com/authzed/spicedb@v1.57.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.51.1

This is the first release that contains the fix.

go get github.com/authzed/spicedb@v1.51.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, change the logging level to 'warn' or 'error' to prevent the DataStore Connection URI from being logged. This can be done by modifying the configuration file or startup command to set the log level appropriately.

Conclusion

The CVE-2026-40091 vulnerability in SpiceDB poses a risk by leaking sensitive DataStore Connection URI information in startup logs. It is crucial to update to version 1.51.1 or later to mitigate this risk. Additionally, changing the log level can serve as a temporary workaround while updates are being applied.

See every vulnerability recorded for github.com/authzed/spicedb →

Share this vulnerability

FAQ

The vulnerability can lead to the exposure of sensitive information, such as plaintext passwords, in the startup logs, potentially allowing unauthorized access to the database.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Versions of SpiceDB from 1.49.0 up to and including 1.51.0 are affected by this vulnerability.

If you cannot update immediately, ensure to change the log level to 'warn' or 'error' to mitigate the risk of exposing sensitive information in the logs.

The CVSS score of this vulnerability is 6.0, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/authzed/spicedb.

How To Fix

Latest published version: v1.57.0 as of 23 Oct 2026

go get github.com/authzed/spicedb@v1.57.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.51.1

This is the first release that contains the fix.

go get github.com/authzed/spicedb@v1.51.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback