QNAP MARS
CVE-2025-59387
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach MARS service over network
-
DeliverySend crafted SQL injection payload
-
ExploitQuery executes without sanitization (CWE-89)
-
ExecutionExtract or manipulate database data
-
ImpactExecute unauthorized code or commands
Vulnerability Assessment
| Weakness |
CWE
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 | Exploitation requires network reachability to a QNAP device running the MARS (Multi-Application Recovery Service) component on a version prior to 1.2.1.1686. Per the CVSS vector (PR:N/UI:N), no authentication or user interaction is required, so default network-exposed deployments are at risk. The primary limiting factor is deployment footprint rather than configuration: MARS must be installed/enabled and its network interface reachable by the attacker - devices where MARS is not deployed or where the service is not exposed to the attacker's network are not affected. Applying firmware/app version 1.2.1.1686 or later remediates the flaw. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated SQL injection requiring no user interaction, with high confidentiality, integrity, and availability impact on the vulnerable system (VC:H/VI:H/VA:H) and no scope change (SC:N/SI:N/SA:N), yielding a base score of 8.1 (High). These signals are internally consistent - an unauthenticated remote SQLi is exactly the profile a network-vector/no-privileges vector describes. However, the exploitation-readiness signals temper the urgency: EPSS is only 0.16% (36th percentile), there is no CISA KEV listing and no public exploit code identified at time of analysis, so this is currently a theoretically serious but not actively-exploited issue. The embedded 4.0 threat metric E:U (Exploit Unproven) aligns with the low EPSS, reinforcing that no weaponized exploit is known. Net assessment: treat as a genuine high-priority patch target because the pre-conditions for mass exploitation are minimal (no auth, no UI), but there is no evidence of in-the-wild activity yet - prioritize based on whether MARS is network-exposed. One caveat: the description is terse ('execute unauthorized code or commands') and does not confirm the mechanism by which SQLi escalates to code/command execution, so the VA:H/VI:H claims rely on the vendor's own scoring rather than independent technical detail. |
| Exploit ScenarioDerived | A remote attacker with network access to a QNAP device running MARS sends a crafted request containing malicious SQL to an injectable parameter, which the application concatenates into a database query without sanitization. Because no authentication or user interaction is required, the attacker can read or modify backend data and, per the vendor, leverage the injection to execute unauthorized code or commands. No public proof-of-concept or exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 15, 2026
Unauthenticated SQL injection in QNAP MARS (Multi-Application Recovery Service) versions prior to 1.2.1.1686 allows remote attackers to execute unauthorized code or commands, as reported by QNAP. The vulnerability is network-reachable with no authentication or user interaction required (CVSS 4.0 base score 8.1, High), and the vendor has released a patch in version 1.2.1.1686. EPSS score is 0.16% (36th percentile), indicating low likelihood of exploitation; no public exploit code or active exploitation has been identified at time of analysis.
Earlier versions of this analysis (1)
An SQL injection vulnerability has been reported to affect MARS (Multi-Application Recovery Service). The remote attackers can then exploit the vulnerability to execute unauthorized code or commands.
RemediationAI
Apply the vendor-released patch by upgrading MARS (Multi-Application Recovery Service) to version 1.2.1.1686 or later. QNAP has published advisory QSA-25-53 (https://www.qnap.com/en/security-advisory/qsa-25-53) with update instructions. If immediate patching is not possible, consider disabling the MARS service if it is not required, or restrict network access to the MARS management interface using firewall rules to only trusted IP addresses. Note that disabling MARS will prevent backup and recovery operations. There are no known workarounds that fully mitigate the vulnerability without patching.
Affected ProductsAI
QNAP MARS (Multi-Application Recovery Service) versions prior to 1.2.1.1686 are affected. This includes any QNAP NAS device running the MARS service on versions earlier than 1.2.1.1686. The vendor advisory (QSA-25-53) provides details and is available at https://www.qnap.com/en/security-advisory/qsa-25-53. No specific CPE strings were provided, but the affected component is the MARS application on QNAP systems.
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 vulnerability is a SQL injection (CWE-89: Improper Neutralization of Special Elements used in an SQL Command) in QNAP MARS (Multi-Application Recovery Service), a backup and recovery solution for QNAP NAS devices. The SQL injection occurs in a network-accessible component, allowing an attacker to inject arbitrary SQL queries. Successful exploitation can lead to unauthorized code or command execution, as reported by the vendor. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) indicates a remotely exploitable, low-complexity attack requiring no privileges or user interaction, with high impact to confidentiality, integrity, and availability of the vulnerable system but no scope change. The independent assessment confirms that exploitation requires network reachability to a QNAP device running MARS prior to version 1.2.1.1686, with no authentication required (PR:N).
Know when Qnap 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:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Unauthenticated remote SQLi over the network with no user interaction gives AV:N/AC:L/PR:N/UI:N; vendor indicates data compromise and command execution, so C/I/A all High, scope unchanged.
Primary rating from Vendor (qnapsecurity).
CVSS VectorVendor: qnapsecurity
Lifecycle Timeline
3DescriptionCVE.org
An SQL injection vulnerability has been reported to affect MARS (Multi-Application Recovery Service). The remote attackers can then exploit the vulnerability to execute unauthorized code or commands.
We have already fixed the vulnerability in the following version: MARS (Multi-Application Recovery Service) 1.2.1.1686 and later
Executive ViewAI
QNAP MARS (Multi-Application Recovery Service) versions prior to 1.2.1.1686 contain a high-severity SQL injection flaw that can allow remote attackers to execute unauthorized code or commands, potentially compromising backup and recovery infrastructure. Organizations relying on QNAP MARS for data protection should prioritize patching because successful exploitation could lead to data loss, ransomware deployment, or lateral movement within the environment. While no public exploit has been identified at time of analysis, the vendor has released a patch in version 1.2.1.1686, making immediate remediation feasible.
Apply vendor patch.
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.
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
Exposure of Private Information in QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could allow authenticate
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
Command injection vulnerability in change password of QNAP Q'center Virtual Appliance version 1.7.1063 and earlier could
An improper authorization vulnerability has been reported to affect QNAP NAS running HBS 3 (Hybrid Backup Sync. Rated cr
This external control of file name or path vulnerability allows remote attackers to access or modify system files. Rated
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB