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-41496

CVE-2026-41496: Praison Praisonai SQLi Vulnerability

CVE-2026-41496 is a SQL injection vulnerability in Praison Praisonai affecting multiple database backends with 52 unvalidated injection points. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 18, 2026

CVE-2026-41496 Overview

CVE-2026-41496 is a SQL injection vulnerability [CWE-89] in PraisonAI, a multi-agent teams system. The flaw affects praisonai versions prior to 4.6.9 and praisonaiagents versions prior to 1.6.9. An earlier patch for CVE-2026-40315 added input validation only to SQLiteConversationStore, leaving nine sibling backends vulnerable. These backends pass table_prefix directly into f-string SQL statements, creating 52 unvalidated injection points across the codebase. The postgres.py module also accepts an unvalidated schema parameter used directly in Data Definition Language (DDL) statements.

Critical Impact

Authenticated attackers can inject arbitrary SQL across MySQL, PostgreSQL, async SQLite/MySQL/PostgreSQL, Turso, SingleStore, Supabase, and SurrealDB backends, compromising confidentiality and integrity of agent conversation data.

Affected Products

  • praison:praisonai versions prior to 4.6.9
  • praison:praisonaiagents (Python) versions prior to 1.6.9
  • Nine conversation store backends: MySQL, PostgreSQL, async SQLite/MySQL/PostgreSQL, Turso, SingleStore, Supabase, SurrealDB

Discovery Timeline

  • 2026-05-08 - CVE-2026-41496 published to NVD
  • 2026-05-09 - Last updated in NVD database

Technical Details for CVE-2026-41496

Vulnerability Analysis

The vulnerability stems from improper neutralization of special elements used in SQL commands. PraisonAI's conversation store layer constructs SQL using Python f-strings that embed the table_prefix parameter directly into queries. When the original fix for CVE-2026-40315 was applied, the maintainers validated input only in SQLiteConversationStore. Nine other backends share the same code pattern but received no input validation. This produced 52 distinct injection sinks across the codebase. Attackers controlling the table_prefix value can break out of identifier context and append arbitrary SQL.

Root Cause

The root cause is the use of Python f-string interpolation to build SQL statements with caller-controlled identifiers. SQL drivers do not parameterize table or schema names, so developers must apply strict allowlist validation. PraisonAI applied this validation to only one backend. The postgres.py backend additionally interpolates a schema parameter into DDL statements such as CREATE SCHEMA and CREATE TABLE, expanding the attack surface beyond DML.

Attack Vector

The attack requires network access and low privileges. An authenticated attacker who can influence the table_prefix or PostgreSQL schema configuration values supplies a crafted string containing SQL metacharacters. The interpolated query executes attacker-controlled SQL with the privileges of the database user configured for the agent backend. Successful exploitation allows reading and modifying stored agent conversations, credentials, and any other tables accessible to the backend role. The vulnerability does not require user interaction.

No verified proof-of-concept code is published. See the GitHub Security Advisory GHSA-rg3h-x3jw-7jm5 for technical details.

Detection Methods for CVE-2026-41496

Indicators of Compromise

  • Unexpected SQL syntax errors logged by MySQL, PostgreSQL, Turso, SingleStore, Supabase, or SurrealDB backends used by PraisonAI agents
  • Database audit logs showing DROP, CREATE, ALTER, or UNION SELECT statements originating from PraisonAI service accounts
  • Anomalous table or schema names containing quotes, semicolons, or SQL keywords in conversation store databases

Detection Strategies

  • Inventory all deployments running praisonai or praisonaiagents and compare installed versions against 4.6.9 and 1.6.9 respectively
  • Enable query logging on backend databases and alert on statements referencing system tables (information_schema, pg_catalog) from agent service accounts
  • Review application configuration sources for any caller-supplied values flowing into table_prefix or PostgreSQL schema parameters

Monitoring Recommendations

  • Forward database audit logs and application logs to a centralized analytics platform for correlation with agent activity
  • Monitor for sudden spikes in database errors or query latency that may indicate injection probing
  • Track configuration changes to PraisonAI conversation store settings through version control and change management systems

How to Mitigate CVE-2026-41496

Immediate Actions Required

  • Upgrade praisonai to version 4.6.9 or later and praisonaiagents to version 1.6.9 or later
  • Audit all sources that supply table_prefix and PostgreSQL schema values and ensure they originate from trusted configuration, not user input
  • Rotate database credentials used by PraisonAI backends if exposure to untrusted input is suspected

Patch Information

The maintainers patched the vulnerability in praisonai 4.6.9 and praisonaiagents 1.6.9. The fix extends input validation to all nine sibling backends and adds validation for the PostgreSQL schema parameter. Refer to the GitHub Security Advisory GHSA-rg3h-x3jw-7jm5 for the complete remediation notes.

Workarounds

  • Restrict the database role used by PraisonAI to least privilege, removing DDL permissions where not required
  • Hardcode table_prefix and schema values in configuration files rather than accepting them from runtime parameters or environment variables exposed to multi-tenant input
  • Place the agent backend behind authentication controls that prevent low-privileged users from modifying conversation store settings

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechPraison

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44336: Praison Praisonai RCE Vulnerability

  • CVE-2026-44339: Praison PraisonAI RCE Vulnerability

  • CVE-2026-41497: Praison Praisonai RCE Vulnerability

  • CVE-2026-44335: Praison Praisonaiagents SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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