CVE-2026-15183
Awaiting Analysis Awaiting Analysis - Queue

Spark-Snowflake Connector OAuth Credential Exposure

Vulnerability report for CVE-2026-15183, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-14

Last updated on: 2026-07-14

Assigner: 412d305a-227d-44f9-a262-a31ba44f2aea

Description

Multiple input validation vulnerabilities in the Snowflake Spark Connector (spark-snowflake) versions prior to 3.2.1 can allow attackers to exfiltrate OAuth client credentials, execute arbitrary SQL with the connector's Snowflake role, or redirect COPY operations to attacker-controlled storage. An attacker could exploit these vulnerabilities by supplying a crafted OAuth token request URL, placing malicious files in an ingestion pipeline, injecting SQL via staging options in a shared Spark environment , or issuing runtime SET commands in a shared Spark-SQL session to inject arbitrary SQL into the SnowflakeFallbackCatalog's option map, which executes under the cluster admin's JDBC credentials. Successful exploitation may result in credential theft, unauthorized access to Snowflake account data, or privilege escalation within connected infrastructure.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-14
Last Modified
2026-07-14
Generated
2026-08-03
AI Q&A
2026-07-14
EPSS Evaluated
2026-08-02
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
snowflake spark_connector to 3.2.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
CWE-441 The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-15183 describes multiple input validation vulnerabilities in the Snowflake Spark Connector (spark-snowflake) versions prior to 3.2.1. These vulnerabilities allow attackers to perform several malicious actions.

  • Exfiltrate OAuth client credentials by supplying a crafted OAuth token request URL.
  • Execute arbitrary SQL with the connector's Snowflake role by injecting SQL via staging options in a shared Spark environment or issuing runtime SET commands in a shared Spark-SQL session.
  • Redirect COPY operations to attacker-controlled storage by placing malicious files in an ingestion pipeline.

Successful exploitation could lead to credential theft, unauthorized access to Snowflake account data, or privilege escalation within connected infrastructure.

Detection Guidance

Detecting this vulnerability involves checking for the presence of vulnerable versions of the Snowflake Spark Connector (versions prior to 3.2.1) and monitoring for suspicious activities related to OAuth token requests, SQL injection attempts, or unauthorized COPY operations.

  • Check the installed version of the Snowflake Spark Connector in your environment. If it is prior to 3.2.1, the system is vulnerable.
  • Review logs for unusual OAuth token request URLs or unexpected redirects to external storage locations. The connector's logs may show masked sensitive DataSource options, but anomalous patterns should be investigated.
  • Monitor Spark-SQL sessions for runtime SET commands that could inject arbitrary SQL into the SnowflakeFallbackCatalog's option map. Look for unexpected or unauthorized SQL queries executed under the cluster admin's JDBC credentials.
  • Inspect ingestion pipelines for malicious files or unexpected COPY operations targeting attacker-controlled storage. Verify the integrity of staging options in shared Spark environments.

Commands or tools to assist detection:

  • To check the Snowflake Spark Connector version, you can use Spark shell or submit a Spark job to print the connector version. Example command in Spark shell: spark.conf.get("spark.snowflake.connector.version")
  • Review Spark logs for entries related to the Snowflake connector, particularly those involving OAuth token requests, SQL queries, or COPY operations. Use grep or similar tools to filter logs: grep -i "snowflake" /path/to/spark/logs/*
  • For network-level detection, monitor for unusual outbound connections to external storage or OAuth endpoints that deviate from expected patterns.
Impact Analysis

This vulnerability can have severe impacts if exploited, including:

  • Credential theft: Attackers may steal OAuth client credentials, allowing unauthorized access to your Snowflake environment.
  • Unauthorized data access: Attackers could execute arbitrary SQL queries, accessing or modifying sensitive data stored in your Snowflake account.
  • Privilege escalation: Attackers may escalate privileges within your connected infrastructure, potentially gaining control over additional systems or data.
  • Data exfiltration: Attackers could redirect COPY operations to their own storage, leading to data leaks or loss of sensitive information.

These impacts could result in financial loss, reputational damage, or regulatory penalties depending on the nature of the data involved.

Compliance Impact

This vulnerability can significantly impact compliance with common standards and regulations in the following ways:

  • GDPR (General Data Protection Regulation): Unauthorized access to or exfiltration of personal data could violate GDPR requirements, leading to potential fines and legal consequences. GDPR mandates strict controls over personal data, and a breach could result in non-compliance.
  • HIPAA (Health Insurance Portability and Accountability Act): If the affected Snowflake environment contains protected health information (PHI), unauthorized access or data exfiltration could violate HIPAA's privacy and security rules, resulting in penalties and legal action.
  • Other regulations: Depending on the industry, this vulnerability could also impact compliance with standards like PCI DSS (for payment data), SOX (for financial reporting), or industry-specific regulations that require data protection and access controls.

Organizations must ensure they apply the necessary patches or mitigations to avoid non-compliance and potential regulatory consequences.

Mitigation Strategies

To mitigate this vulnerability, follow these immediate steps:

  • Upgrade the Snowflake Spark Connector to version 3.2.1 or later. This version includes fixes for the input validation vulnerabilities, such as restricting the fallback catalog to merge only immutable Spark configurations, masking sensitive DataSource options in logs, and validating OAuth token request URLs.
  • Ensure that the Snowflake JDBC driver version 4.0.2 or later is used, as required by the updated connector versions.
  • Review and restrict permissions for the Snowflake role used by the connector. Limit the role's access to only the necessary data and operations to reduce the impact of potential exploitation.
  • Monitor and audit Spark-SQL sessions for unauthorized runtime SET commands or suspicious SQL queries. Implement logging and alerting for unusual activities.
  • Validate and sanitize all inputs to the connector, particularly OAuth token request URLs, staging options, and COPY operation targets. Ensure that only trusted and verified sources are used.
  • Isolate shared Spark environments to prevent unauthorized users from injecting malicious SQL or staging options. Use dedicated environments for sensitive operations where possible.
  • Rotate OAuth client credentials and JDBC credentials if there is any suspicion of compromise. Ensure that credentials are stored securely and not exposed in logs or configuration files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15183. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart