CVE-2024-50387: SQL Injection in QNAP SMB Service
- Vendor
- QNAP Systems
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
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.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.