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

CVE-2026-40329: Masa CMS SQL Injection Vulnerability

CVE-2026-40329 is a SQL injection vulnerability in Masa CMS affecting versions 7.5.2 and earlier. Attackers can execute arbitrary SQL commands to access sensitive data or gain administrative control. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 7, 2026

CVE-2026-40329 Overview

CVE-2026-40329 is a SQL injection vulnerability [CWE-89] in Masa CMS, an open source content management system. The flaw exists in the beanFeed.cfc component, where the getQuery function processes the sortBy parameter without proper sanitization or parameterization. Versions 7.5.2 and earlier are affected. An unauthenticated remote attacker can inject arbitrary SQL commands into dynamic SQL statements executed by the application. Successful exploitation can expose sensitive data, modify or delete records, and escalate privileges to administrative control. The issue is fixed in versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3.

Critical Impact

Unauthenticated remote attackers can execute arbitrary SQL against the backend database, leading to full compromise of stored data and potential administrative takeover.

Affected Products

  • Masa CMS versions 7.5.0 through 7.5.2
  • Masa CMS versions 7.4.0 through 7.4.9
  • Masa CMS versions 7.3.0 through 7.3.14 and 7.2.0 through 7.2.9

Discovery Timeline

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

Technical Details for CVE-2026-40329

Vulnerability Analysis

The vulnerability resides in the beanFeed.cfc ColdFusion component shipped with Masa CMS. Inside the getQuery function, the sortBy parameter supplied through HTTP requests is concatenated directly into a dynamic SQL statement. The application does not apply parameterized queries or input validation to this value before passing it to the database engine.

Because beanFeed.cfc is reachable without authentication, an attacker only needs network access to the Masa CMS instance to trigger the flaw. Crafted sortBy values terminate the intended ORDER BY clause and append additional SQL syntax such as UNION SELECT queries, stacked statements, or time-based blind payloads. The database executes the attacker-controlled SQL with the privileges of the Masa CMS database account.

Root Cause

The root cause is improper neutralization of special elements used in an SQL command [CWE-89]. The getQuery function builds SQL through string concatenation rather than prepared statements with bound parameters. Input that should be restricted to a column name or sort direction is treated as trusted SQL text.

Attack Vector

Exploitation requires only a network-reachable HTTP endpoint exposed by beanFeed.cfc. No authentication, user interaction, or elevated privileges are required. An attacker submits an HTTP request supplying malicious SQL fragments in the sortBy parameter. Depending on database permissions, the attacker can read arbitrary tables, write or delete records, enumerate schema metadata, or pivot to operating system command execution through database-specific features.

No verified public proof-of-concept code is available at this time. See the GitHub Security Advisory for additional technical context.

Detection Methods for CVE-2026-40329

Indicators of Compromise

  • HTTP requests to URIs containing beanFeed.cfc with unusual sortBy query string values containing SQL keywords such as UNION, SELECT, SLEEP, --, or ;
  • Web server or application logs showing repeated beanFeed.cfc requests from a single source with varying sortBy payloads
  • Database error messages or query timeouts correlated with beanFeed.cfc requests
  • Unexpected new administrative accounts or modified content records in the Masa CMS database

Detection Strategies

  • Inspect web access logs for sortBy parameter values that include SQL metacharacters or encoded equivalents (%27, %20OR%20, %3B)
  • Enable database query auditing to flag dynamic queries originating from beanFeed.cfc that contain UNION operators or sleep functions
  • Correlate WAF alerts on SQL injection signatures with backend ColdFusion application logs to confirm exploitation attempts

Monitoring Recommendations

  • Forward Masa CMS application logs, web server logs, and database audit logs to a centralized analytics platform for correlation
  • Alert on bursts of HTTP 500 responses from beanFeed.cfc that may indicate injection probing
  • Track outbound database traffic for anomalous bulk reads consistent with data exfiltration following successful injection

How to Mitigate CVE-2026-40329

Immediate Actions Required

  • Upgrade Masa CMS to version 7.2.10, 7.3.15, 7.4.10, or 7.5.3 depending on the deployed branch
  • Restrict network access to beanFeed.cfc until patching is complete, particularly from untrusted networks
  • Review database audit logs for prior exploitation attempts targeting the sortBy parameter
  • Rotate database credentials used by Masa CMS if exploitation is suspected

Patch Information

The Masa CMS maintainers released fixed versions 7.2.10, 7.3.15, 7.4.10, and 7.5.3. The patch replaces unsafe string concatenation in the getQuery function of beanFeed.cfc with parameterized SQL. Refer to the Masa CMS GitHub Security Advisory GHSA-3xpq-q494-8qq4 for full release details.

Workarounds

  • Configure Web Application Firewall (WAF) rules to block requests to beanFeed.cfc containing SQL keywords or metacharacters in the sortBy parameter
  • Apply allowlist validation at a reverse proxy to restrict sortBy values to a fixed set of column names
  • Limit the database account used by Masa CMS to least privilege, removing schema modification and administrative rights where possible
bash
# Example ModSecurity rule blocking SQL patterns in sortBy parameter
SecRule ARGS:sortBy "@rx (?i)(union(\s)+select|sleep\s*\(|;|--|/\*|\bor\b\s+\d+=\d+)" \
    "id:1040329,\
    phase:2,\
    deny,\
    status:403,\
    msg:'CVE-2026-40329 Masa CMS beanFeed.cfc sortBy SQL injection attempt',\
    logdata:'Matched sortBy=%{MATCHED_VAR}'"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechMasa Cms

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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-40330: Masa CMS SQL Injection Vulnerability

  • CVE-2026-40331: Masa CMS SQL Injection Vulnerability

  • CVE-2024-32640: MASA CMS SQL Injection Vulnerability

  • CVE-2026-40332: Masa CMS Open Redirect 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