SpiceDB: SPICEDB_DATASTORE_CONN_URI is leaked on startup logs
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
SpiceDB is an open source database system for creating and managing security-critical application permissions. In versions 1.49.0 through 1.51.0, when SpiceDB starts with log level info, the startup "configuration" log will include the full datastore DSN, including the plaintext password, inside DatastoreConfig.URI. This issue has been fixed in version 1.51.1. If users are unable to immediately upgrade, they can work around this issue by changing the log level to warn or error.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| authzed | spicedb | 1.49.0 to before 1.51.1 | 1.51.1 | Patch available | CNA |
| — | github.com/authzed/spicedb (Go) | 1.49.0 to before 1.51.1 | 1.51.1 | Patch available | GHSA-jf4f-rr2c-9m58 |
- spicedb Vendorauthzed Affected 1.49.0 to before 1.51.1 Fixed in 1.51.1 Patch available CNA
- github.com/authzed/spicedb (Go) Vendor— Affected 1.49.0 to before 1.51.1 Fixed in 1.51.1 Patch available GHSA-jf4f-rr2c-9m58
Remediation
- Fix · CNA spicedb (authzed) Fixed in 1.51.1
- Fix · GHSA-jf4f-rr2c-9m58 github.com/authzed/spicedb (Go) Fixed in 1.51.1 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 1 product
- Multicluster Global Hub
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40091
- 2026-10-03 Alias added: GHSA-jf4f-rr2c-9m58
References
More authzed Spicedb vulnerabilities
- TI-2025-31139 SpiceDB checks involving relations with caveats can result in no permission when permission is expected CVSS 3.1MEDIUM 5.3
- TI-2023-13621 SpiceDB binding metrics port to untrusted networks and can leak command-line flags CVSS 3.1HIGH 8.7
- TI-2024-17962 Integer overflow in chunking helper causes dispatching to miss elements or panic CVSS 3.1CRITICAL 9.1
- TI-2022-06024 Lookup operations do not take into account wildcards in SpiceDB CVSS 3.1HIGH 8.1
- TI-2023-24882 `SPICEDB_DATASTORE_CONN_URI` is leaked when URI cannot be parsed CVSS 3.1MEDIUM 6.5
- TI-2024-31378 Multiple caveats on resources of the same type can result in no permission when permission is expected CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-40091 · CVE Program
- CVE-2026-40091 · NVD
- FIRST EPSS
- GHSA-jf4f-rr2c-9m58 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40091 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences