{"id":"CVE-2023-46255","aliases":["CVE-2023-46255","GHSA-jg7w-cxjv-98c2","GO-2023-2166"],"related":["CGA-2h4v-6p55-5468"],"kind":"vulnerability","state":"published","title":"`SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed","summary":"SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. Prior to version 1.27.0-rc1, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SpiceDB is an open source, Google Zanzibar-inspired database for creating and managing security-critical application permissions. Prior to version 1.27.0-rc1, 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.","source":"cvelist"},{"lang":"en","text":"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:<PASSWORD IN PLAINTEXT>\": invalid port \\\"<PASSWORD IN PLAINTEXT>\\\" after host\"\n```","format":"markdown","source":"ghsa"},{"lang":"en","text":"SpiceDB leaks information in log files when URI cannot be parsed in github.com/authzed/spicedb","format":"markdown","source":"go"},{"lang":"es","text":"SpiceDB es una base de datos de código abierto inspirada en Google Zanzíbar para crear y administrar permisos de aplicaciones críticas para la seguridad. Antes de la versión 1.27.0-rc1, cuando el URI del almacén de datos proporcionado tiene un formato incorrecto (por ejemplo, al tener una contraseña que contiene `:`), se imprime el URI completo (incluida la contraseña proporcionada), de modo que la contraseña se muestra en los registros. La versión 1.27.0-rc1 soluciona este problema.","source":"nvd"}],"published":"2023-10-31T15:25:24.933Z","modified":"2026-09-10T03:49:58.688Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"< 1.27.0-rc1","status":"affected"}],"vendor":"authzed","product":"spicedb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.27.0-rc1"}],"ecosystem":"Go","package":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.27.0-rc1"}],"ecosystem":"Go","package":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","source":"go"},{"ranges":[{"status":"affected","fixed":"1.27.0"}],"vendor":"authzed","product":"spicedb","cpe":"cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-jg7w-cxjv-98c2","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/authzed/spicedb/commit/ae50421b80f895e4c98d999b18e06b6f1e6f1cf8","tags":["fix","patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46255","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/authzed/spicedb","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-05T20:15:56.911Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-46255","url":"https://www.cve.org/CVERecord?id=CVE-2023-46255","licence":"CVE Terms of Use","modified":"2024-09-05T20:16:15.166Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jg7w-cxjv-98c2","url":"https://github.com/advisories/GHSA-jg7w-cxjv-98c2","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:58.688Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-2166","url":"https://pkg.go.dev/vuln/GO-2023-2166","licence":"CC-BY-4.0","modified":"2026-02-04T03:09:37.421Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-46255","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46255","licence":"Public domain","modified":"2026-06-17T06:30:31.870Z"}],"updatedAt":"2026-11-25T22:58:29.870Z","epss":{"score":0.00438,"percentile":0.39823,"date":"2026-12-01T12:00:22.000Z"}}