MediumGHSA-jg7w-cxjv-98c2CVE-2023-46255GO-2023-2166

SpiceDB leaks information in log files when URI cannot be parsed

Published 31 Oct 2023 · Updated 10 Sept 2026

Is your project on an affected github.com/authzed/spicedb?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.27.0-rc1
Fixed in
1.27.0-rc1
Update to the fixed version for your release line, for example:go get github.com/authzed/spicedb@v1.27.0-rc1

Details

SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. When the provided datastore URI is malformed (e.g. by having a password which contains :) the full URI (including the provided password) is printed, so that the password is shown in the logs. Version 1.27.0-rc1 patches this issue.

Example output:

terminated with errors error="unable to create migration driver for postgres: parse \"postgres://spicedb:<PASSWORD IN PLAINTEXT>": invalid port \"<PASSWORD IN PLAINTEXT>\" after host"

Is GHSA-jg7w-cxjv-98c2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/authzed/spicedb, and gives you the command that fixes it.

More advisories for github.com/authzed/spicedb

  • LowCVE-2026-46668SpiceDB: Caveat structures with nested lists can result in improper cache reuse in github.com/authzed/spicedb · 25 Jun 2026
  • LowCVE-2026-40091SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs in github.com/authzed/spicedb · 25 Jun 2026
  • LowCVE-2026-55866SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected in github.com/authzed/spicedb · 25 Jun 2026
  • LowCVE-2026-55866SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected · 19 Jun 2026
  • LowCVE-2026-46668SpiceDB: Caveat structures with nested lists can result in improper cache reuse · 21 May 2026
  • MediumCVE-2026-40091SpiceDB's SPICEDB_DATASTORE_CONN_URI is leaked on startup logs · 14 Apr 2026
All 31 advisories for github.com/authzed/spicedb

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.