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-2024-50631

CVE-2024-50631: Synology Drive Server SQLi Vulnerability

CVE-2024-50631 is a SQL injection flaw in Synology Drive Server's syncing daemon that enables remote attackers to execute write-limited SQL commands. This article covers the technical details, affected versions, and mitigation.

Published: June 2, 2026

CVE-2024-50631 Overview

CVE-2024-50631 is a SQL injection vulnerability in the system syncing daemon of Synology Drive Server. The flaw allows remote attackers to inject SQL commands without authentication, with impact limited to write operations. The vulnerability is classified under CWE-89 for improper neutralization of special elements used in an SQL command. Affected versions include Synology Drive Server releases prior to 3.0.4-12699, 3.2.1-23280, 3.5.0-26085, and 3.5.1-26102. Synology published advisory Synology_SA_24_21 addressing the issue.

Critical Impact

Unauthenticated remote attackers can inject SQL write operations into the Synology Drive Server syncing daemon, enabling tampering of database records on affected DSM appliances.

Affected Products

  • Synology Drive Server versions before 3.0.4-12699
  • Synology Drive Server versions before 3.2.1-23280 and 3.5.0-26085
  • Synology Drive Server versions before 3.5.1-26102

Discovery Timeline

  • 2025-03-19 - CVE-2024-50631 published to NVD
  • 2026-01-16 - Last updated in NVD database

Technical Details for CVE-2024-50631

Vulnerability Analysis

The vulnerability resides in the system syncing daemon component of Synology Drive Server, the service responsible for coordinating file synchronization between clients and the DSM appliance. The daemon fails to properly neutralize special characters in SQL statements before passing them to the backend database. Attackers can send crafted requests over the network to inject arbitrary SQL fragments into queries executed by the daemon.

The issue is classified as CWE-89, SQL injection. According to the vendor advisory, exploitation does not require authentication or user interaction and impact is limited to write operations. Read-based data exfiltration through this vector is not described in the advisory. The EPSS score of 1.226% places the vulnerability in the 79th percentile for likelihood of exploitation activity.

Root Cause

The root cause is missing or insufficient input sanitization in SQL query construction within the syncing daemon. User-controllable input is concatenated into SQL statements rather than passed through parameterized queries or prepared statements. This permits attacker-supplied content to alter query semantics.

Attack Vector

The attack is delivered over the network against the Drive Server service. The Synology advisory does not document the specific request fields or endpoints used to reach the vulnerable code path. A remote attacker with network reachability to the Drive Server can submit crafted input that triggers SQL write operations such as INSERT, UPDATE, or DELETE against tables accessible to the daemon. See the Synology Security Advisory SA-24-21 for additional technical context.

Detection Methods for CVE-2024-50631

Indicators of Compromise

  • Unexpected modifications, insertions, or deletions in Synology Drive Server database tables that do not correlate with legitimate user sync activity.
  • Synology Drive Server daemon log entries containing SQL meta-characters such as single quotes, semicolons, or UNION, INSERT, and UPDATE keywords in request parameters.
  • Network connections to Drive Server services from untrusted or unexpected source addresses.

Detection Strategies

  • Inspect Drive Server and DSM logs for anomalous request payloads targeting the syncing daemon endpoints.
  • Compare current Drive Server package versions against the fixed releases listed in the Synology advisory and flag any host running an unpatched version.
  • Apply web application firewall or intrusion detection signatures that match common SQL injection patterns in traffic destined for Synology Drive Server ports.

Monitoring Recommendations

  • Forward DSM and Drive Server logs to a centralized logging or SIEM platform for retention and correlation.
  • Alert on authentication anomalies and on database write spikes originating from the syncing daemon process.
  • Monitor outbound connections from the NAS appliance for signs of follow-on activity after a suspected injection.

How to Mitigate CVE-2024-50631

Immediate Actions Required

  • Upgrade Synology Drive Server to 3.0.4-12699, 3.2.1-23280, 3.5.0-26085, 3.5.1-26102, or later, per the vendor advisory.
  • Restrict network exposure of the Drive Server to trusted networks and authenticated VPN clients until patching is complete.
  • Review database contents and Drive Server logs for evidence of unauthorized write activity prior to remediation.

Patch Information

Synology has released fixed packages for Drive Server. Refer to Synology Security Advisory SA-24-21 for the authoritative list of fixed versions and upgrade instructions. Apply the update through Package Center in DSM or by manually installing the corresponding package.

Workarounds

  • Block external access to Drive Server ports at the perimeter firewall when immediate patching is not feasible.
  • Place the NAS behind a reverse proxy or VPN that enforces authentication before traffic reaches the syncing daemon.
  • Disable the Drive Server package on appliances that do not require synchronization services.
bash
# Verify installed Synology Drive Server package version on DSM
synopkg version SynologyDriveServer

# Example: block external access to Drive Server (port 6690) at the DSM firewall
# Adjust source ranges to your trusted networks before applying
# (Run via DSM Control Panel > Security > Firewall, or via CLI as below)
iptables -A INPUT -p tcp --dport 6690 ! -s 10.0.0.0/8 -j DROP

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechSynology Drive Server

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Vendor Resources
  • Synology Security Advisory SA-24-21
  • Latest CVEs
  • CVE-2026-50263: X.org X Server Use-After-Free Flaw

  • CVE-2026-21033: Samsung Assistant RCE Vulnerability

  • CVE-2026-21032: Samsung Assistant RCE Vulnerability

  • CVE-2026-50260: X.org X Server Use-After-Free 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