Skip to main content

QNAP QTS CVE-2025-62849

MEDIUM
SQL Injection (CWE-89)
2025-12-16 security@qnapsecurity.com.tw
5.2
CVSS 4.0 · Vendor: qnapsecurity
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach QTS/QuTS hero network interface
  2. Delivery
    Submit crafted SQL injection payload
  3. Exploit
    Trigger unsanitized database query
  4. Execution
    Execute unauthorized commands on NAS
  5. Impact
    Compromise 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (qnapsecurity) PRIMARY 5.2 MEDIUM
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (qnapsecurity).

CVSS VectorVendor: qnapsecurity

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
1.0%
Top 39% exploitable
Prevalence
High
QNAP NAS appliances are widely deployed across SMB and prosumer environments
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:o:qnap:qts:5.2.0.2737:build_20240417:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.0.2744:build_20240424:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.0.2782:build_20240601:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.0.2802:build_20240620:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.0.2823:build_20240711:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.0.2851:build_20240808:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.0.2860:build_20240817:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.1.2930:build_20241025:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.2.2950:build_20241114:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.3.3006:build_20250108:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.4.3070:build_20250312:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.4.3079:build_20250321:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.4.3092:build_20250403:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.5.3145:build_20250526:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.6.3195:build_20250715:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.6.3229:build_20250818:*:*:*:*:*:*
cpe:2.3:o:qnap:qts:5.2.7.3256:build_20250913:*:*:*:*:*:*
cpe:2.3:o:qnap:quts_hero:h5.2.0.2737:build_20240417:*:*:*:*:*:*
cpe:2.3:o:qnap:quts_hero:h5.2.0.2782:build_20240601:*:*:*:*:*:*
cpe:2.3:o:qnap:quts_hero:h5.2.0.2789:build_20240607:*:*:*:*:*:*
+ 17 more

More in Qts

View all
CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2017-6361 CRITICAL POC
9.8 Mar 23

QNAP QTS before 4.2.4 Build 20170313 allows attackers to execute arbitrary commands via unspecified vectors. Rated criti

CVE-2017-6360 CRITICAL POC
9.8 Mar 23

QNAP QTS before 4.2.4 Build 20170313 allows attackers to gain administrator privileges and obtain sensitive information

CVE-2017-13067 CRITICAL POC
9.8 Sep 14

QNAP has patched a remote code execution vulnerability affecting the QTS Media Library in all versions prior to QTS 4.2.

CVE-2017-6359 CRITICAL POC
9.8 Mar 23

QNAP QTS before 4.2.4 Build 20170313 allows attackers to gain administrator privileges and execute arbitrary commands vi

CVE-2017-5227 HIGH POC
7.5 Mar 23

QNAP QTS before 4.2.4 Build 20170313 allows local users to obtain sensitive Domain Administrator password information by

CVE-2017-7876 CRITICAL POC
10.0 Jun 15

This command injection vulnerability in QTS allows attackers to run arbitrary commands in the compromised application. R

CVE-2019-7193 CRITICAL POC
9.8 Dec 05

This improper input validation vulnerability allows remote attackers to inject arbitrary code to the system. Rated criti

CVE-2023-39296 HIGH POC
7.5 Jan 05

A prototype pollution vulnerability has been reported to affect several QNAP operating system versions. Rated high sever

CVE-2017-17028 CRITICAL
9.8 Dec 21

A buffer overflow vulnerability in external device function in QNAP QTS version 4.2.6 build 20171026, 4.3.3.0378 build 2

CVE-2017-17033 CRITICAL
9.8 Dec 21

A buffer overflow vulnerability in password function in QNAP QTS version 4.2.6 build 20171026, 4.3.3.0378 build 20171117

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy