CVE-2024-50387

CRITICAL

A SQL injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers to inject malicious code. We have alr...

Affects 1 product across 1 vendor.

BCS7.8
CVSS 3.19.8
CVSS v410.0
EPSS10.1%
Percentile95th
PatchPatched
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
CWE Weakness Definitions
CWE-89: SQL Injection

Attacker inserts SQL commands into application queries through user-controlled input, allowing unauthorized database access.

Related Attack Patterns (CAPEC)
CAPEC-7 Blind SQL Injection
via CWE-89
CAPEC-108 Command Line Execution through SQL Injection
via CWE-89
CAPEC-109 Object Relational Mapping Injection
via CWE-89
CAPEC-110 SQL Injection through SOAP Parameter Tampering
via CWE-89
CAPEC-470 Expanding Control over the Operating System from the Database
via CWE-89
Show all 6
via CWE-89

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ SAGE Intelligence — CITED Relevance Research Team

A SQL injection vulnerability in QNAP operating system versions prior to SMB Service 4.15.002 and h4.15.002 allows remote attackers to inject malicious code, potentially leading to unauthorized data access or manipulation.

BSID: BS-2024-GLOBAL-218864-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2024-50387?
A SQL injection vulnerability in QNAP operating system versions prior to SMB Service 4.15.002 and h4.15.002 allows remote attackers to inject malicious code, potentially leading to unauthorized data access or manipulation.
What is the CVSS score for CVE-2024-50387?
CVE-2024-50387 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 10.1%.
Is CVE-2024-50387 actively exploited?
No confirmed active exploitation of CVE-2024-50387 as of 2026-05-30.
How do I remediate CVE-2024-50387?
Priority: IMMEDIATE. Advisory: https://www.qnap.com/en/security-advisory/qsa-24-42 PSIRT: [email protected]
What systems are affected by CVE-2024-50387?
CVE-2024-50387 affects: Qnap.
Vulnerability Details
CVE IDCVE-2024-50387
BSIDBS-2024-GLOBAL-218864-C BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-12-06
Last Modified2025-12-08
ICS Relevance55%
Weakness (CWE)
SourceNVD
Official Description

A SQL injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers to inject malicious code. We have already fixed the vulnerability in the following version: SMB Service 4.15.002 and later SMB Service h4.15.002 and later

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

The vulnerability is exploited by sending specially crafted SQL queries to the affected QNAP systems. Attackers can leverage this to execute arbitrary SQL commands, which could compromise the integrity and confidentiality of the system.

Exploitation Likelihood: HIGH

Affected Products
VendorProductFixed Version
Qnap Smb Service
Remediation
View Vendor Advisory →

Remediation Priority: IMMEDIATE

Vendor PSIRT: [email protected]
Threat Intelligence
● Threat Intelligence Validated: August 2026 | Threat Age: 621 Days
CISA KEVNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
SAGE Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceHIGH
Enriched At2026-05-24
SHA-512 Audit Hashd128a27f021d8699ba0b3e78627e804927b07de8eecaead8fecfa75df2cdf79b05731dd4834854c10673182694b4c82d1dd00f1262301226ee032bab6e4be9cc
Related CVEs affecting Qnap
CVE-2017-7876 10.0 This command injection vulnerability in QTS allows attackers to run arbitrary... CVE-2024-32766 10.0 An OS command injection vulnerability has been reported to affect several QNA... CVE-2024-32764 9.9 A missing authentication for critical function vulnerability has been reporte... CVE-2024-21899 9.8 An improper authentication vulnerability has been reported to affect several ... CVE-2024-50393 9.8 A command injection vulnerability has been reported to affect several QNAP op...
View all Qnap CVEs →

Critical Severity - Know Your Exposure

A CVSS 9.8 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.

Check Your Assets Free →