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-2025-24790

CVE-2025-24790: Snowflake JDBC Information Disclosure

CVE-2025-24790 is an information disclosure flaw in Snowflake JDBC Driver where temporary credentials are cached in world-readable files on Linux. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-24790 Overview

CVE-2025-24790 is an Insecure Permissions vulnerability in the Snowflake JDBC Driver that affects Linux systems when temporary credential caching is enabled. The vulnerability causes the driver to cache temporary credentials locally in a world-readable file, potentially exposing sensitive authentication data to unauthorized local users. Snowflake discovered and remediated this vulnerability, releasing a fix in version 3.22.0.

Critical Impact

Local users on affected Linux systems can read cached temporary credentials, potentially leading to unauthorized access to Snowflake data warehouse accounts and sensitive enterprise data.

Affected Products

  • Snowflake JDBC Driver versions 3.6.8 through 3.21.0
  • Linux operating systems with temporary credential caching enabled
  • Java applications using affected Snowflake JDBC driver versions

Discovery Timeline

  • January 29, 2025 - CVE-2025-24790 published to NVD
  • August 25, 2025 - Last updated in NVD database

Technical Details for CVE-2025-24790

Vulnerability Analysis

This vulnerability stems from improper file permission handling in the Snowflake JDBC Driver's credential caching mechanism on Linux systems. When applications connect to Snowflake using the JDBC driver with temporary credential caching enabled, the driver creates cache files to store authentication tokens locally. Due to a flaw in the file creation process, these cache files are created with world-readable permissions (CWE-276: Incorrect Default Permissions), allowing any local user on the system to read the cached credentials.

The issue is particularly concerning in multi-user Linux environments such as shared development servers, containerized deployments, or cloud compute instances where multiple users or processes may have access to the same filesystem.

Root Cause

The root cause is an Incorrect Default Permissions issue (CWE-276) in how the Snowflake JDBC Driver creates cache files and directories on Linux systems. The driver failed to properly restrict file permissions when creating the .cache directory and associated credential cache files, resulting in world-readable permissions instead of owner-only access.

Attack Vector

The attack vector is local, requiring an attacker to have user-level access to the same Linux system where the vulnerable Snowflake JDBC Driver is operating with credential caching enabled. An attacker can exploit this vulnerability by:

  1. Identifying systems running Java applications that use the Snowflake JDBC Driver
  2. Locating the .cache directory where temporary credentials are stored
  3. Reading the world-readable cache files to obtain temporary authentication tokens
  4. Using the stolen credentials to access Snowflake data warehouse resources

The following code shows the security patch that addresses the vulnerability by implementing proper file permissions:

java
 package net.snowflake.client.config;
 
 import static net.snowflake.client.jdbc.SnowflakeUtil.convertSystemGetEnvToBooleanValue;
+import static net.snowflake.client.jdbc.SnowflakeUtil.isWindows;
 import static net.snowflake.client.jdbc.SnowflakeUtil.systemGetEnv;
 
 import com.fasterxml.jackson.dataformat.toml.TomlMapper;

Source: GitHub Commit Update

The patch also modifies the cache file builder to properly set owner-only permissions:

java
             .setBaseCacheFileName(CACHE_FILE_NAME)
             .setCacheExpirationInSeconds(CACHE_EXPIRATION_IN_SECONDS)
             .setCacheFileLockExpirationInSeconds(CACHE_FILE_LOCK_EXPIRATION_IN_SECONDS)
+            .setOnlyOwnerPermissions(false)
             .build();
   }

Source: GitHub Commit Update

Detection Methods for CVE-2025-24790

Indicators of Compromise

  • World-readable files in Snowflake JDBC cache directories (typically .cache folders)
  • Unexpected read access attempts to credential cache files by non-owner users
  • Anomalous Snowflake authentication patterns from unexpected source systems
  • Unauthorized data access in Snowflake audit logs correlated with credential exposure timeframes

Detection Strategies

  • Audit file permissions on systems running Java applications with Snowflake JDBC connectivity using find commands to identify world-readable cache files
  • Monitor Snowflake access logs for authentication events from unexpected IP addresses or user agents
  • Implement file integrity monitoring (FIM) on known Snowflake cache directories to detect unauthorized access

Monitoring Recommendations

  • Enable Snowflake's built-in access history and login history monitoring to detect credential misuse
  • Configure host-based intrusion detection systems (HIDS) to alert on file permission anomalies in application directories
  • Review Snowflake JDBC driver versions across your environment using dependency scanning tools

How to Mitigate CVE-2025-24790

Immediate Actions Required

  • Upgrade the Snowflake JDBC Driver to version 3.22.0 or later immediately
  • Audit existing cache files and directories for improper permissions and remediate
  • Rotate any credentials that may have been exposed through world-readable cache files
  • Review Snowflake audit logs for any unauthorized access during the exposure window

Patch Information

Snowflake has released version 3.22.0 of the JDBC Driver which fixes this vulnerability. The patch implements proper file permission handling when creating cache directories and files on Linux systems. Organizations should update their Snowflake JDBC Driver dependencies through their build management tools (Maven, Gradle, etc.) and redeploy affected applications.

For detailed patch information, refer to the GitHub Security Advisory GHSA-33g6-495w-v8j2.

Workarounds

  • Disable temporary credential caching by setting the appropriate connection parameter if caching is not required for your use case
  • Manually restrict permissions on existing cache directories using chmod 700 on the .cache directory
  • Implement filesystem access controls or SELinux/AppArmor policies to restrict access to cache directories
bash
# Fix permissions on existing Snowflake cache directories
find /path/to/application -name ".cache" -type d -exec chmod 700 {} \;
find /path/to/application/.cache -type f -exec chmod 600 {} \;

# Verify no world-readable credential files exist
find / -name "*snowflake*cache*" -perm -o+r -type f 2>/dev/null

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSnowflake

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-276
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-33g6-495w-v8j2
  • Related CVEs
  • CVE-2025-27496: Snowflake JDBC Information Disclosure Flaw

  • CVE-2024-43382: Snowflake JDBC Information Disclosure Flaw

  • CVE-2024-49750: Snowflake Connector Information Disclosure

  • CVE-2026-6442: Snowflake Cortex Code CLI RCE 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