{"id":"GHSA-jg7w-cxjv-98c2","summary":"SpiceDB leaks information in log files when URI cannot be parsed","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.\n\nExample output:\n```\nterminated with errors error=\"unable to create migration driver for postgres: parse \\\"postgres://spicedb:\u003cPASSWORD IN PLAINTEXT\u003e\": invalid port \\\"\u003cPASSWORD IN PLAINTEXT\u003e\\\" after host\"\n```","aliases":["CVE-2023-46255","GO-2023-2166"],"modified":"2026-07-17T21:10:38.809566416Z","published":"2023-10-31T22:23:44Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-10-31T22:23:44Z","nvd_published_at":"2023-10-31T16:15:10Z","cwe_ids":["CWE-532"]},"references":[{"type":"WEB","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-jg7w-cxjv-98c2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46255"},{"type":"WEB","url":"https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8"},{"type":"PACKAGE","url":"https://github.com/authzed/spicedb"}],"affected":[{"package":{"name":"github.com/authzed/spicedb","ecosystem":"Go","purl":"pkg:golang/github.com/authzed/spicedb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.27.0-rc1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/10/GHSA-jg7w-cxjv-98c2/GHSA-jg7w-cxjv-98c2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N"}]}