Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40091

CVE-2026-40091: SpiceDB Information Disclosure Flaw

CVE-2026-40091 is an information disclosure vulnerability in SpiceDB that exposes plaintext database passwords in startup logs. This post covers technical details, affected versions, impact, and mitigation steps.

Published: April 17, 2026

CVE-2026-40091 Overview

SpiceDB is an open source database system for creating and managing security-critical application permissions. A sensitive information disclosure vulnerability exists in SpiceDB versions 1.49.0 through 1.51.0 where the application logs plaintext database credentials during startup when configured with the info log level. The vulnerability occurs because the startup "configuration" log includes the full datastore Data Source Name (DSN), including plaintext passwords, inside the DatastoreConfig.URI field.

Critical Impact

Database credentials exposed in plaintext within application logs can be harvested by attackers with local access or log aggregation system access, potentially leading to unauthorized database access and data breaches.

Affected Products

  • SpiceDB version 1.49.0
  • SpiceDB version 1.50.0
  • SpiceDB version 1.51.0

Discovery Timeline

  • 2026-04-15 - CVE CVE-2026-40091 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2026-40091

Vulnerability Analysis

This vulnerability is classified under CWE-532 (Insertion of Sensitive Information into Log File), a common weakness where applications inadvertently write sensitive data to log files. The issue affects SpiceDB's startup logging mechanism when the application is configured to run with the info log level.

During application initialization, SpiceDB logs configuration details to help administrators verify proper setup. However, the logging implementation in affected versions fails to sanitize the DatastoreConfig.URI field before writing it to logs. This field contains the complete database connection string, which typically includes authentication credentials such as usernames and passwords in plaintext format.

The vulnerability requires local access to the system where SpiceDB logs are stored or access to any centralized logging infrastructure that aggregates these logs. While this limits the attack surface compared to network-exploitable vulnerabilities, the sensitive nature of database credentials makes this a significant security concern.

Root Cause

The root cause of this vulnerability lies in insufficient log sanitization within SpiceDB's configuration logging routine. When SpiceDB starts with the info log level, it outputs the full datastore configuration including the URI parameter. The DatastoreConfig.URI field was not being properly redacted or masked before being written to the log output, resulting in plaintext credential exposure.

Attack Vector

The attack vector for this vulnerability is local, requiring an attacker to have access to the system's log files or log aggregation services. Potential attack scenarios include:

A malicious insider or compromised service account with read access to SpiceDB's log directory could extract database credentials directly from the log files. Additionally, if logs are forwarded to centralized logging systems (such as ELK stack, Splunk, or cloud logging services), credentials could be exposed to a broader audience with access to those systems.

The exploitation does not require special privileges beyond log file read access, making it a concern in multi-tenant environments or systems with shared log infrastructure.

Detection Methods for CVE-2026-40091

Indicators of Compromise

  • Review SpiceDB log files for entries containing DatastoreConfig.URI with visible password parameters
  • Search log aggregation systems for patterns matching database connection strings with authentication details
  • Audit access logs to identify unauthorized access to SpiceDB log files or directories

Detection Strategies

  • Implement log monitoring rules to detect database connection strings containing password parameters
  • Configure SIEM alerts for patterns matching DSN formats (e.g., postgres://user:password@host)
  • Perform regular audits of log file permissions to ensure principle of least privilege

Monitoring Recommendations

  • Monitor file access events on SpiceDB log directories for suspicious read operations
  • Track authentication attempts to databases connected to SpiceDB for anomalous access patterns
  • Implement log file integrity monitoring to detect unauthorized log access or modification

How to Mitigate CVE-2026-40091

Immediate Actions Required

  • Upgrade SpiceDB to version 1.51.1 or later immediately
  • Rotate all database credentials that may have been exposed in logs
  • Review and purge historical log files that may contain plaintext credentials
  • Audit log file access to identify potential credential exposure

Patch Information

The SpiceDB development team has addressed this vulnerability in version 1.51.1. The fix ensures that sensitive credential information is properly redacted from configuration logs during startup. Users should upgrade to this version as soon as possible. For detailed release information, see the GitHub Release v1.51.1 and the GitHub Security Advisory GHSA-jf4f-rr2c-9m58.

Workarounds

  • Change the SpiceDB log level to warn or error to prevent the configuration log from being written
  • Restrict file system permissions on log directories to limit access to authorized personnel only
  • Implement log redaction at the infrastructure level to mask sensitive patterns before storage
  • Consider using environment variables or secret management solutions for database credentials
bash
# Configuration example
# Change log level to prevent credential exposure
spicedb serve --log-level=warn

# Or using environment variable
export SPICEDB_LOG_LEVEL=warn
spicedb serve

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSpicedb

  • SeverityMEDIUM

  • CVSS Score6.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-532
  • Technical References
  • GitHub Release v1.51.1

  • GitHub Security Advisory GHSA-jf4f-rr2c-9m58
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English