The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-33324

CVE-2026-33324: SQLBot Text-to-SQL SQLi Vulnerability

CVE-2026-33324 is a SQL injection flaw in SQLBot's Text-to-SQL chat interface that enables prompt injection attacks. Attackers can execute arbitrary SQL and achieve RCE on PostgreSQL. This guide covers technical details, affected versions, impact, and mitigation.

Published: May 7, 2026

CVE-2026-33324 Overview

CVE-2026-33324 is a prompt injection vulnerability in SQLBot, an intelligent Text-to-SQL system built on large language models (LLMs) and Retrieval-Augmented Generation (RAG). The flaw affects versions 1.7.0 and earlier. The Text2SQL chat interface concatenates the user-supplied question parameter directly into the LLM prompt without filtering or escaping. SQL extracted from the LLM response then executes against the database without validation. An authenticated attacker can craft malicious input to coerce the LLM into generating arbitrary SQL statements. When SQLBot connects to a PostgreSQL data source, the attacker can achieve remote code execution through the COPY FROM PROGRAM statement. The issue is fixed in version 1.7.1.

Critical Impact

Authenticated attackers can execute arbitrary SQL and gain remote code execution on PostgreSQL-backed SQLBot deployments via prompt injection.

Affected Products

  • SQLBot versions 1.7.0 and earlier
  • Deployments connected to PostgreSQL data sources are exposed to remote code execution
  • Fixed release: SQLBot version 1.7.1

Discovery Timeline

  • 2026-05-05 - CVE-2026-33324 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-33324

Vulnerability Analysis

SQLBot translates natural language questions into SQL using an LLM augmented with RAG context. The question parameter submitted to the Text2SQL chat endpoint is interpolated into the model prompt as raw text. No sanitization, instruction isolation, or output validation exists between the user input, the LLM, and the database execution layer. An authenticated attacker submits a question that overrides system instructions and dictates the SQL the model returns. SQLBot then executes that SQL directly against the configured data source. The vulnerability is classified under [CWE-89] for improper neutralization of SQL elements, with prompt injection acting as the delivery mechanism. Against PostgreSQL, the attacker reaches operating system command execution through COPY FROM PROGRAM, which runs shell commands as the database user.

Root Cause

The root cause is a trust boundary failure across two layers. User input is concatenated into LLM prompts without escaping, and LLM-generated SQL is executed without an allowlist, parser-level validation, or read-only enforcement. The system treats LLM output as trusted code.

Attack Vector

The attack requires network access and authenticated low-privilege access to the SQLBot chat interface. The attacker sends a crafted natural language question instructing the model to emit a specific SQL payload. On PostgreSQL backends, the payload uses COPY FROM PROGRAM '<command>' to execute arbitrary commands on the database host. The vulnerability mechanism is described in the GitHub Security Advisory.

Detection Methods for CVE-2026-33324

Indicators of Compromise

  • PostgreSQL query logs containing COPY FROM PROGRAM or COPY TO PROGRAM statements originating from the SQLBot service account
  • SQLBot application logs showing chat questions with embedded SQL keywords such as DROP, CREATE, COPY, or instructions like "ignore previous"
  • Unexpected child processes spawned by the PostgreSQL server process (postgres)
  • Outbound network connections from the database host to attacker-controlled infrastructure

Detection Strategies

  • Inspect SQLBot request bodies for prompt-injection markers: instruction overrides, role-switch phrases, and inline SQL fragments in the question field
  • Enable PostgreSQL log_statement = 'all' and alert on any COPY ... PROGRAM execution
  • Monitor for process lineage where postgres spawns shells, interpreters, or networking utilities
  • Correlate authenticated SQLBot session activity with anomalous SQL patterns and database host process events

Monitoring Recommendations

  • Forward SQLBot, PostgreSQL, and host process telemetry to a centralized analytics platform for cross-source correlation
  • Baseline normal Text2SQL query shapes and alert on outliers containing DDL, file I/O, or PROGRAM clauses
  • Track failed and successful authentications to SQLBot to identify credential abuse preceding injection attempts

How to Mitigate CVE-2026-33324

Immediate Actions Required

  • Upgrade SQLBot to version 1.7.1 or later without delay
  • Rotate any credentials, API keys, or secrets accessible from the database host if exploitation is suspected
  • Review PostgreSQL query history for COPY FROM PROGRAM usage tied to the SQLBot service account
  • Restrict SQLBot authentication to trusted users and enforce strong access controls on the chat endpoint

Patch Information

The maintainers fixed CVE-2026-33324 in SQLBot version 1.7.1. Details are published in the GitHub Security Advisory GHSA-q2q6-gqqh-4xrx. Operators should upgrade rather than rely on workarounds.

Workarounds

  • Configure the PostgreSQL connection used by SQLBot with a least-privilege, read-only role that cannot execute COPY ... PROGRAM
  • Disable or block superuser privileges for the SQLBot database account, since COPY FROM PROGRAM requires elevated rights or membership in pg_execute_server_program
  • Place the SQLBot interface behind network controls and require multi-factor authentication to limit attacker access
  • Add an egress firewall policy on the database host to block unexpected outbound connections
bash
# Configuration example: restrict the SQLBot PostgreSQL role
REVOKE pg_execute_server_program FROM sqlbot_user;
ALTER ROLE sqlbot_user NOSUPERUSER;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO sqlbot_user;

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSqlbot

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.30%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42463: SQLBot Authorization Bypass Vulnerability

  • CVE-2026-32622: SQLBot Prompt Injection RCE Vulnerability

  • CVE-2025-69285: SQLBot Auth Bypass 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