A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2022-27596

CVE-2022-27596: QNAP QTS and QuTS Hero RCE Vulnerability

CVE-2022-27596 is a remote code execution vulnerability in QNAP QTS and QuTS hero that enables attackers to inject malicious code remotely. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2022-27596 Overview

CVE-2022-27596 is a SQL injection vulnerability [CWE-89] affecting QNAP network-attached storage devices running QTS and QuTS hero operating systems. Remote attackers can inject malicious SQL code without authentication or user interaction. QNAP disclosed the issue in security advisory QSA-23-01 and released fixes in QuTS hero h5.0.1.2248 build 20221215 and QTS 5.0.1.2234 build 20221201. The vulnerability carries an EPSS probability of 20.952%, placing it in the 95th percentile of exploitation likelihood.

Critical Impact

Unauthenticated remote attackers can inject SQL commands into vulnerable QNAP NAS devices, potentially leading to data manipulation, disclosure of stored credentials, and broader system compromise.

Affected Products

  • QNAP QTS (versions prior to 5.0.1.2234 build 20221201)
  • QNAP QuTS hero (versions prior to h5.0.1.2248 build 20221215)
  • QNAP NAS appliances exposing the management interface to untrusted networks

Discovery Timeline

  • 2023-01-30 - CVE-2022-27596 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-27596

Vulnerability Analysis

The flaw is classified under [CWE-89], indicating improper neutralization of special elements used in an SQL command. An attacker can submit crafted input to a vulnerable component of the QTS or QuTS hero web interface, and the backend constructs SQL queries that incorporate the input without adequate sanitization. The result is execution of attacker-controlled SQL within the device database context.

QNAP's advisory QSA-23-01 confirms remote exploitation without prerequisites such as authentication or user interaction. Successful exploitation can expose stored configuration, manipulate database records, and serve as a pivot point for further compromise of NAS-resident data.

Root Cause

The root cause is the use of unsanitized user-controlled input within SQL query construction. The vulnerable code path concatenates request parameters into SQL statements rather than using parameterized queries or strict input validation. QNAP has not published the exact vulnerable component, but the fix is delivered through firmware updates across both QTS and QuTS hero product lines.

Attack Vector

The attack vector is the network. An attacker reaches the QNAP management interface over HTTP or HTTPS and submits a crafted request containing SQL metacharacters in a parameter the backend trusts. Because the vulnerability requires no privileges and no user interaction, exposed NAS devices are reachable from the public internet through port-forwarding or direct internet exposure. Refer to the QNAP Security Advisory QSA-23-01 for vendor-confirmed exploitation conditions.

Detection Methods for CVE-2022-27596

Indicators of Compromise

  • Unexpected SQL syntax characters (', --, UNION, SELECT) appearing in QNAP web access logs and reverse-proxy logs
  • Anomalous outbound connections originating from NAS appliances after receipt of unusual HTTP requests
  • Newly created administrator accounts or modified user records that do not match change-management records
  • Modifications to QTS or QuTS hero configuration files outside of scheduled maintenance windows

Detection Strategies

  • Inspect HTTP and HTTPS traffic destined to QNAP management ports for SQL injection patterns using IDS or WAF signatures
  • Correlate authentication events on the NAS with source IP geolocation to surface unexpected administrative access
  • Compare installed firmware versions across the fleet against the fixed builds QTS 5.0.1.2234 and QuTS hero h5.0.1.2248

Monitoring Recommendations

  • Forward QNAP system, access, and event logs to a centralized log platform for retention and analysis
  • Alert on first-time external IPs initiating administrative sessions against any NAS device
  • Monitor for outbound traffic from NAS subnets to non-corporate destinations, which is uncommon during normal operation

How to Mitigate CVE-2022-27596

Immediate Actions Required

  • Upgrade QTS devices to 5.0.1.2234 build 20221201 or later and QuTS hero devices to h5.0.1.2248 build 20221215 or later
  • Remove direct internet exposure of QNAP management interfaces and place devices behind a VPN or trusted network segment
  • Audit administrator accounts and rotate credentials for any device suspected of exposure prior to patching
  • Review access logs for the period preceding the patch deployment to identify suspicious requests

Patch Information

QNAP released firmware updates resolving CVE-2022-27596 on the dates referenced in advisory QSA-23-01. Administrators apply the update through the Control Panel under System > Firmware Update, or by downloading the firmware image from the QNAP Download Center and applying it manually. Vendor guidance is published in the QNAP Security Advisory QSA-23-01.

Workarounds

  • Disable remote access features such as myQNAPcloud and UPnP port forwarding until firmware is updated
  • Restrict access to the QNAP web interface using firewall rules that allow only management subnets
  • Enable QNAP's built-in Access Protection and IP Auto-Block to limit brute-force and probing activity
bash
# Verify installed QTS/QuTS hero firmware against the fixed builds
ssh admin@<nas-host> 'getcfg System Version; getcfg System "Build Number"'
# Expected QTS:        Version 5.0.1, Build 20221201 or later
# Expected QuTS hero:  Version h5.0.1, Build 20221215 or later

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechQnap Qts

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability20.95%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Vendor Resources
  • QNAP Security Advisory QSA-23-01
  • Related CVEs
  • CVE-2024-14026: QNAP QTS Command Injection RCE Vulnerability

  • CVE-2025-62847: QNAP QTS RCE Vulnerability

  • CVE-2024-32766: QNAP QTS OS Command Injection Vulnerability

  • CVE-2023-50358: QNAP QTS OS Command Injection RCE Flaw
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