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

CVE-2026-27149: Discourse SQL Injection Vulnerability

CVE-2026-27149 is a SQL injection flaw in Discourse's PM tag filtering that allows attackers to bypass tag filter conditions and potentially access unauthorized private message metadata. This article covers affected versions, impact, and mitigation strategies.

Published: February 27, 2026

CVE-2026-27149 Overview

CVE-2026-27149 is a SQL Injection vulnerability affecting Discourse, a popular open source discussion platform. The vulnerability exists in the private message tag filtering functionality (list_private_messages_tag), where insufficient input sanitization allows attackers to inject malicious SQL queries. Successful exploitation can bypass tag filter conditions and potentially disclose unauthorized private message metadata to authenticated users.

Critical Impact

Authenticated attackers can exploit SQL injection in PM tag filtering to access private message metadata they should not have access to, potentially exposing sensitive user communications.

Affected Products

  • Discourse versions prior to 2025.12.2
  • Discourse versions prior to 2026.1.1
  • Discourse versions prior to 2026.2.0

Discovery Timeline

  • 2026-02-26 - CVE CVE-2026-27149 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27149

Vulnerability Analysis

This SQL Injection vulnerability resides in the list_private_messages_tag function of Discourse's private messaging system. The vulnerability occurs when user-supplied tag filter parameters are incorporated into SQL queries without proper sanitization or parameterization. When users filter private messages by tags, the application constructs database queries dynamically using the tag input. Because this input is not adequately validated, an attacker can craft malicious input that modifies the intended SQL query structure.

The exploitation requires low-privilege authenticated access to the Discourse platform. Once authenticated, an attacker can manipulate tag filter parameters to inject SQL commands that bypass the intended filtering logic. This allows extraction of private message metadata that would normally be restricted based on access controls. The vulnerability has no impact on data integrity or system availability—it is limited to confidentiality exposure.

Root Cause

The root cause is improper input validation (CWE-89: SQL Injection) in the tag filtering mechanism for private messages. The list_private_messages_tag function fails to properly sanitize or parameterize user-controlled input before incorporating it into SQL queries. This allows attackers to break out of the intended query context and inject arbitrary SQL commands.

Attack Vector

The attack is network-based and requires authentication to the Discourse platform. An attacker would:

  1. Authenticate to the Discourse instance with a valid user account
  2. Navigate to private message filtering functionality
  3. Craft a malicious tag filter parameter containing SQL injection payloads
  4. Submit the request, causing the injected SQL to execute against the database
  5. Extract private message metadata from the response or through inference techniques

The vulnerability is exploited through manipulating the tag filter parameter in API requests to the list_private_messages_tag endpoint. By injecting SQL syntax into the tag parameter, attackers can modify query conditions to return metadata from private messages they are not authorized to view.

For complete technical details on the vulnerability mechanism, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-27149

Indicators of Compromise

  • Unusual SQL syntax characters in tag filter parameters (e.g., single quotes, semicolons, UNION keywords)
  • Abnormal private message API access patterns from authenticated users
  • Error messages or application exceptions related to malformed SQL queries in PM endpoints
  • Users accessing private message metadata outside their normal access scope

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect SQL injection patterns in tag filter parameters
  • Monitor application logs for SQL syntax errors originating from the list_private_messages_tag endpoint
  • Deploy runtime application self-protection (RASP) to detect and block SQL injection attempts
  • Configure database query logging to identify anomalous queries from the private message subsystem

Monitoring Recommendations

  • Enable detailed logging for all private message API endpoints, particularly tag filtering operations
  • Set up alerts for authentication followed by unusual PM metadata access patterns
  • Monitor database query execution times for anomalies that may indicate injection-based enumeration
  • Review access logs for repeated requests to PM tag filtering with varying payloads

How to Mitigate CVE-2026-27149

Immediate Actions Required

  • Upgrade Discourse to version 2025.12.2, 2026.1.1, or 2026.2.0 immediately
  • Audit access logs for any signs of exploitation prior to patching
  • Review private message access patterns for anomalous behavior
  • Consider temporarily disabling PM tag filtering if immediate patching is not possible

Patch Information

The Discourse development team has released security patches addressing this vulnerability in versions 2025.12.2, 2026.1.1, and 2026.2.0. Organizations running affected versions should upgrade to one of these patched releases as soon as possible. The patch properly sanitizes and parameterizes user input in the list_private_messages_tag function to prevent SQL injection.

For additional information, see the GitHub Security Advisory.

Workarounds

  • No official workarounds are available for this vulnerability
  • Patching to a fixed version is the only recommended remediation
  • Organizations unable to patch immediately should implement WAF rules to filter SQL injection patterns
  • Consider restricting access to the private message tag filtering functionality until patching is complete
bash
# Upgrade Discourse to patched version
cd /var/discourse
git pull
./launcher rebuild app

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechDiscourse

  • SeverityMEDIUM

  • CVSS Score4.9

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/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
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34947: Discourse Information Disclosure Flaw

  • CVE-2026-27481: Discourse Auth Bypass Vulnerability

  • CVE-2026-32143: Discourse Information Disclosure Flaw

  • CVE-2026-32243: Discourse 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