Skip to main content
Mallory
CriticalVulnerability

CVE-2024-50387: SQL Injection in QNAP SMB Service

Published Dec 6, 2024 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v4
EPSS10.0%96th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
QNAP Systems
IdentifiersCVE-2024-50387CWE-89 · Improper Neutralization of Special…

CVE-2024-50387 is a SQL injection vulnerability in QNAP SMB Service affecting 4.15.x and h4.15.x releases prior to the vendor-fixed versions. The flaw is attributed to insufficient validation of user-supplied input, allowing crafted requests to alter backend SQL queries. Available reporting indicates the issue is remotely exploitable without authentication against exposed vulnerable NAS systems running QTS or QuTS hero with the affected SMB Service component installed. Successful exploitation can progress beyond database manipulation and result in full compromise of the device, including root shell access.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a remote unauthenticated attacker to perform SQL injection against the affected SMB Service and potentially escalate the attack to full device takeover. Reported outcomes include unauthorized code or command execution in the context of the appliance and complete compromise of the NAS, up to and including root shell access.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure of the affected NAS management and service interfaces to untrusted networks, restrict remote access to trusted administrative paths only, and monitor for suspicious activity targeting SMB Service. Because the issue is reported as remotely exploitable without authentication and can lead to full compromise, mitigation should be treated only as a temporary measure until the fixed SMB Service version is deployed.

Remediation

Patch, then assume compromise.

Upgrade QNAP SMB Service to a fixed release. The vulnerability is reported as resolved in SMB Service 4.15.002 and later, and SMB Service h4.15.002 and later. Apply the vendor-provided updates on affected QTS and QuTS hero systems as soon as possible.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
QNAP SystemsSmb Serviceoperating_system
FAQ

Frequently asked questions

Is CVE-2024-50387 exploited in the wild?
Yes. As of Sep 25, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2024-50387?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2024-50387.
Is there a patch for CVE-2024-50387?
Upgrade QNAP SMB Service to a fixed release. The vulnerability is reported as resolved in SMB Service 4.15.002 and later, and SMB Service h4.15.002 and later.
What products are affected by CVE-2024-50387?
QNAP Systems Smb Service.
How severe is CVE-2024-50387?
CVE-2024-50387 has a CVSS v4 score of 10.0 (Critical) and an EPSS score of 10.0% (96th percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.