SQL Injection RCE in QNAP QTS and QuTS hero nvrlog_event_add
CVE-2025-62847 is a SQL injection vulnerability affecting QNAP QTS and QuTS hero. The flaw stems from improper validation and neutralization of user-controlled input before it is incorporated into SQL queries, described by the vendor as improper neutralization of argument delimiters in a command. Publicly available technical details indicate the issue is present in handling of the msg parameter in the nvrlog_event_add endpoint. By supplying crafted input, an attacker can alter execution logic and leverage the injection condition to achieve arbitrary code execution on affected systems. The vulnerability was demonstrated against QNAP TS-453E devices in the context of QTS/QuTS hero and can lead to code execution in the context of admin.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in arbitrary code execution on the affected device with administrative privileges. This can enable full compromise of the NAS operating environment, including unauthorized access to stored data, modification of system configuration, deployment of additional payloads, persistence, and disruption of service availability and integrity.
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by restricting management and application access to trusted networks only, limiting network-adjacent reachability to the vulnerable service, and minimizing the number of accounts with administrative access. Because available reporting indicates the nominal authentication requirement may be bypassed, do not rely solely on authentication boundaries for protection. Monitor for anomalous requests to the affected application workflow and isolate vulnerable NAS devices from untrusted segments until updates are applied.
Patch, then assume compromise.
Upgrade affected systems to vendor-fixed releases. QNAP states the vulnerability is fixed in QTS 5.2.7.3297 build 20251024 and later, QuTS hero h5.2.7.3297 build 20251024 and later, and QuTS hero h5.3.1.3292 build 20251024 and later. Apply the corresponding QNAP security advisory updates for all affected platforms.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.