QNAP QTS
CVE-2025-62849
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach QTS/QuTS hero network interface
-
DeliverySubmit crafted SQL injection payload
-
ExploitTrigger unsanitized database query
-
ExecutionExecute unauthorized commands on NAS
-
ImpactCompromise stored data and appliance
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The CVSS 4.0 vector sets PR:N (no authentication required) and AV:N (network-reachable), but exploitation is explicitly gated by AT:P (specific attack requirements/preconditions must hold on the target) and UI:P (passive user interaction by a legitimate user is needed), so it is not guaranteed against an arbitrary default deployment. The vulnerability affects QNAP QTS 5.2.0.x through 5.2.3.3006 and corresponding QuTS hero builds prior to the fixed releases; the specific SQL-injectable feature or endpoint is not identified in the available data and should be confirmed with QNAP advisory QSA-25-45. Practical limiting factors: the appliance's management interface must be network-reachable (internet-exposed NAS are highest risk), the undisclosed attack precondition must be satisfied, and some user interaction is required - these reduce real-world exploitability well below what an unauthenticated network vector alone would suggest. |
| Impact | This is a moderate-priority issue rather than a critical emergency, and the signals are largely consistent. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H) scores only 5.2 despite high confidentiality/integrity/availability impact, because the Attack Requirements (AT:P) and passive User Interaction (UI:P) metrics materially constrain exploitability - a network-reachable, unauthenticated path exists, but specific preconditions and some user involvement are needed. EPSS is low at 0.97% (61st percentile), indicating a modest modeled probability of exploitation in the near term, and the CVSS 4.0 Exploit Maturity is explicitly E:U (unreported/unproven). There is no CISA KEV listing and no public POC, so exploitation status is: no public exploit identified at time of analysis. The one notable tension is CWE-89 SQL injection combined with a description claiming attackers can 'execute unauthorized code or commands' - SQLi-to-command-execution is plausible on NAS firmware but is a strong claim the vendor advisory does not detail; verify the exact impact path with QNAP. Overall: a genuinely patch-worthy flaw in internet-facing NAS appliances, but currently neither actively exploited nor trivially weaponizable, so it warrants prompt patching rather than crisis response. |
| Exploit ScenarioDerived | A remote attacker reachable over the network sends a crafted request containing malicious SQL to a vulnerable QTS/QuTS hero management interface, and - given the required preconditions and some passive user interaction - the injected query manipulates the backend database to run unauthorized commands on the appliance. No public exploit code is currently available, and the CVSS 4.0 Attack Requirements (AT:P) and passive User Interaction (UI:P) metrics mean exploitation is not fully turnkey against an arbitrary default target. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
SQL injection in QNAP QTS and QuTS hero NAS operating systems lets remote, unauthenticated attackers run unauthorized code or commands, but only when a specific precondition on the target holds and a legitimate user is drawn into some passive interaction, so it is not reliably exploitable against an arbitrary default deployment. Affected builds span QTS 5.2.0.x through 5.2.3.3006 and the corresponding QuTS hero releases prior to the October 2025 fixes; the exact injectable feature or endpoint is not disclosed in the available data. No public exploit code was identified at time of analysis and CISA KEV does not list this CVE, while EPSS places it at roughly 0.97% (61st percentile) - a moderate-priority issue rather than a critical emergency, with the strongest real-world risk falling on internet-exposed NAS management interfaces.
RemediationAI
Vendor-released patch: upgrade QTS to 5.2.7.3297 build 20251024 or later, QuTS hero to h5.2.7.3297 build 20251024 or later, or QuTS hero to h5.3.1.3292 build 20251024 or later, following the version matrix in QNAP advisory QSA-25-45 (https://www.qnap.com/en/security-advisory/qsa-25-45). Until the upgrade is applied, the highest-value compensating control is to remove the NAS management interface from the public internet - block WAN access to the QTS/QuTS hero admin ports, disable or restrict myQNAPcloud and UPnP-based port forwarding, and allow administrative access only from trusted internal subnets or via VPN; the trade-off is that legitimate remote administration then requires VPN connectivity. Also enforce the required passive user interaction only from trusted users, keep the management account surface minimized, and monitor QNAP and firmware logs for anomalous SQL-style request patterns as a detection workaround, recognizing that logging is detection rather than prevention and cannot substitute for the vendor patch.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause class is CWE-89, SQL injection, meaning user-supplied input reaches a SQL query without proper parameterization or escaping on a QNAP NAS operating system service, allowing the attacker to alter query logic and potentially pivot to command or code execution. The affected technology stack is the QTS / QuTS hero firmware that runs the appliance's web-based management interface and its backend services; the supplied CPE data pins the exposed surface to QNAP QTS builds 5.2.0.2737 (build 20240417) through 5.2.3.3006 (build 20250108), with matching QuTS hero builds affected upstream of the patched releases. The CVSS 4.0 vector (AV:N/PR:N) indicates the flaw is network-reachable without credentials, but it is gated by AT:P (specific attack requirements must hold) and UI:P (passive user interaction is required), and the CVSS 3.1 re-assessment (AV:N/AC:H/PR:N/UI:R) reflects that high attack complexity and required user action significantly constrain exploitability. QNAP does not identify the specific SQL-injectable component or endpoint in the available data, so the precise attack prerequisite should be confirmed directly against QSA-25-45.
Know when Qts gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Network-reachable and unauthenticated (AV:N/PR:N), but AC:H reflects the vendor's AT:P preconditions and UI:R maps the passive user interaction; SQLi yielding command execution justifies C/I/A:H.
Primary rating from Vendor (qnapsecurity).
CVSS VectorVendor: qnapsecurity
DescriptionCVE.org
An SQL injection vulnerability has been reported to affect several QNAP operating system versions. The remote attackers can then exploit the vulnerability to execute unauthorized code or commands.
We have already fixed the vulnerability in the following versions: QTS 5.2.7.3297 build 20251024 and later QuTS hero h5.2.7.3297 build 20251024 and later QuTS hero h5.3.1.3292 build 20251024 and later
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Affected Products (CPE)CVE.org
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
QNAP QTS before 4.2.4 Build 20170313 allows attackers to execute arbitrary commands via unspecified vectors. Rated criti
QNAP QTS before 4.2.4 Build 20170313 allows attackers to gain administrator privileges and obtain sensitive information
QNAP has patched a remote code execution vulnerability affecting the QTS Media Library in all versions prior to QTS 4.2.
QNAP QTS before 4.2.4 Build 20170313 allows attackers to gain administrator privileges and execute arbitrary commands vi
QNAP QTS before 4.2.4 Build 20170313 allows local users to obtain sensitive Domain Administrator password information by
This command injection vulnerability in QTS allows attackers to run arbitrary commands in the compromised application. R
This improper input validation vulnerability allows remote attackers to inject arbitrary code to the system. Rated criti
A prototype pollution vulnerability has been reported to affect several QNAP operating system versions. Rated high sever
A buffer overflow vulnerability in external device function in QNAP QTS version 4.2.6 build 20171026, 4.3.3.0378 build 2
A buffer overflow vulnerability in password function in QNAP QTS version 4.2.6 build 20171026, 4.3.3.0378 build 20171117
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB