QtsOperating system · Qnap

CVE-2023-50358

MEDIUM · 5.8 CVSS v3.1 Published 2024-02-13
Fix available
A fix is available. Upgrade to 4.2.6 / 4.3.3.2644 or later.
See remediation →
63/100
Remediation priority · Elevated
Public exploit No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An OS command injection vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow users to execute commands via a network. We have already fixed the vulnerability in the following versions: QTS 5.1.5.2645 build 20240116 and later QTS 4.5.4.2627 build 20231225 and later QTS 4.3.6.2665 build 20240131 and later QTS 4.3.4.2675 build 20240131 and later QTS 4.3.3.2644 build 20240131 and later QTS 4.2.6 build 20240131 and later QuTS hero h5.1.5.2647 build 20240118 and later QuTS hero h4.5.4.2626 build 20231225 and later QuTScloud c5.1.5.2651 and later

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis
How this class of weakness works · CWE-78

User input reaches a shell or system command without being fully separated from the command itself, so an attacker can append their own instructions. Because these run with the application's privileges, it often means full control of the host. The lasting fix is to avoid the shell entirely — call APIs directly and pass arguments as data, never as concatenated strings.

General guidance for the os command injection class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
QtsOperating system
Affected:>= 4.2.0, < 4.2.6>= 4.3.0, < 4.3.3.2644>= 4.3.4, < 4.3.4.2675>= 4.3.5, < 4.3.6.2665>= 4.5.1, < 4.5.4.2627>= 5.1.0, < 5.1.5.2645= 4.2.6= 4.5.4.2627= 5.1.5.2645
Quts HeroOperating system
Affected:>= h4.5.0, < h4.5.4.2626>= h5.0.0, < h5.1.5.2647= h4.5.4.2626= h5.1.5.2647
QutscloudOperating system
Affected:>= c5.0.0.1919, < c5.1.5.2651

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Adjacent
Complexity
High
Privileges
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.2.6 / 4.3.3.2644 / 4.3.4.2675 or later
Fixed in 4.2.64.3.3.26444.3.4.2675
Recommended fix High confidence

QTS 4.2.6 (build 20240131), QTS 4.3.3.2644 (build 20240131), QTS 4.3.4.2675 (build 20240131), QTS 4.3.6.2665 (build 20240131), QTS 4.5.4.2627 (build 20231225), QTS 5.1.5.2645 (build 20240116), QuTS hero h4.5.4.2626 (build 20231225), QuTS hero h5.1.5.2647 (build 20240118), or QuTScloud c5.1.5.2651 de

  1. 1. Identify the current QNAP firmware version by logging into the admin interface and checking System Administration > Firmware Update.
  2. 2. Determine the appropriate upgrade path based on current version: For QTS 4.2.x, upgrade to QTS 4.2.6 build 20240131 or later; For QTS 4.3.0-4.3.3.x, upgrade to QTS 4.3.3.2644 build 20240131 or later; For QTS 4.3.4.x, upgrade to QTS 4.3.4.2675 build 20240131 or later; For QTS 4.3.5.x, upgrade to QTS 4.3.6.2665 build 20240131 or later; For QTS 4.5.x, upgrade to QTS 4.5.4.2627 build 20231225 or la
  3. 3. Download the firmware from the official QNAP download center: https://www.qnap.com/en-us/download
  4. 4. Navigate to Control Panel > System Administration > Firmware Update and select Manual Firmware Update.
  5. 5. Upload the downloaded .img file and initiate the update.
  6. 6. After reboot, verify the new build number matches or exceeds the recommended fixed version for your product line.
Caveat Standard QNAP firmware update risks apply - ensure data is backed up and plan for brief downtime during the update process

Generated from the published advisory — verify against the referenced sources before acting.

We can perform the upgrade in your staging environment and verify nothing breaks — typical engagement from $2,850. Get the upgrade done

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-50358 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-50358 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data