NAS Security · 6 min read

Synology Ransomware in 2026: Separate the Outdated-DSM Attack From PHP2Shell Exposure

A NAS triage workflow that separates a confirmed ransomware campaign against outdated DSM from the distinct PHP2Shell package risk.

Publisher: NetSignalKit Editorial | Corrections and feedback

Independent technical information. Validate vendor claims and test changes in your own environment. Some outbound commercial links may earn a commission; see our disclosure.

Information current as of 1 November 2026

Two Synology security stories landed close together in October 2026 and are easy to confuse. Synology says threat actors are exploiting a vulnerability that had been patched in December 2024 against devices running outdated/end-of-life DSM, with the goal of encrypting data and extorting users. The vendor points administrators to Synology-SA-24:20. Separately, Synology-SA-26:14 PHP2Shell was still being revised through 31 October as package/older-DSM coverage was clarified.

Separately, Synology PSIRT assessed the PHP2Shell vulnerabilities CVE-2026-109618 and CVE-2026-109619. For Synology systems, the exposed risk is tied to susceptible PHP-dependent packages; Synology says the built-in OS PHP component is not externally exposed by design. These are distinct risk tracks and should be triaged separately.

CONFIRMEDthe outdated-DSM ransomware activity exists; Synology recommends immediate DSM updating. CONFIRMED: PHP2Shell affects specified package/runtime combinations and patched packages are available. PRELIMINARY/UNKNOWN: Synology's public ransomware notice does not identify every victim, full campaign scope or which individual CVE from Synology-SA-24:20 was used in each observed attack. Do not fill that gap with speculation.

Who is affected?

Start with DSM lifecycle/version and installed package exposure, then add evidence of Internet reachability. A NAS can be exposed to the old DSM vulnerability, the PHP2Shell package vulnerabilities, both, or neither.

StateMeaning
Affected by the ransomware risk tracka device on a DSM build below the fixed release for the relevant Synology-SA-24:20 branch, especially if reachable by untrusted networks.
Affected by PHP2Shella system running a susceptible Synology PHP package/runtime combination below the fixed package release listed in Synology-SA-26:14.
Probably not affected by PHP2Shell through DSM's built-in internal PHP aloneSynology states that component has no externally exposed modules and assesses that path as very low risk.
UnknownDSM/package version or exposure cannot be established, or the NAS already shows suspicious encryption/activity that requires incident handling rather than a version-only conclusion.

Read-only checks first

Use DSM's normal management UI to record the exact DSM build, update status, Package Center inventory and versions of PHP-dependent packages. Capture screenshots or exported inventory evidence before changing packages if you are investigating a possible incident.

For PHP2Shell, Synology's public statement names Calendar, IDrive, Joomla, KodExplorer, MailStation, MediaWiki, phpMyAdmin, vtigerCRM, Web Station and WordPress as PHP-dependent packages in scope for its update guidance. The current Synology-SA-26:14 revision, last updated 31 October, separately lists Synology Calendar, Mail Station and PHP runtime branches as affected products and includes Hyper Backup in the product table explicitly as Not affected. Do not infer impact merely because a package name appears in the advisory. IDrive is the third-party package; Synology Drive is not the affected product named in the statement.

For ransomware suspicion, also record which management/file services were Internet-reachable, recent administrative logins, new users, scheduled tasks/packages, unexpected encryption/renaming activity, snapshot status and whether backup repositories are still writable from the NAS.

Immediate containment: vulnerable is not the same as encrypted

If the NAS is merely vulnerable, reduce unnecessary public exposure and update through supported vendor channels. If files are actively being encrypted or compromise is suspected, treat the system as an incident: isolate the affected NAS from untrusted networks and writable backup targets while preserving the evidence needed to understand scope.

Do not reflexively delete encrypted files, logs, snapshots or backup sets. Do not reconnect an offline recovery copy to the suspect NAS just to see whether the backup is readable. Recovery media is valuable because it is outside the failure domain.

Permanent remediation for the two tracks

For the outdated-DSM ransomware track, move each supported DSM branch to the fixed release specified in Synology-SA-24:20 or later. If a device is on an end-of-life release, the operational question is not only whether a one-time patch exists; it is whether the platform can remain on a maintained branch with future fixes.

For PHP2Shell, update the affected PHP/runtime and package components according to Synology-SA-26:14. Synology states PHP 7.3 has reached end of life and will not receive a fix. The vendor's 31 October advisory revision also extends fixed packages to older DSM branches. If a required package cannot be patched promptly, disable the affected externally reachable package as a temporary exposure reduction according to Synology's guidance, then complete the supported update.

If compromise is already evidenced, patching is necessary but is not a recovery proof. Restore from a recovery point whose creation time and integrity are understood, and validate the application/data before returning it to production.

What worked in the field — evidence tiers

LEVEL AVendor incident evidence: Synology reports that threat actors are exploiting the older DSM vulnerability and that the observed goal is encryption/extortion. The same vendor has published fixed DSM releases in Synology-SA-24:20.
LEVEL AVendor vulnerability remediation: Synology publishes fixed PHP/package versions for PHP2Shell and states which package exposure paths matter. This is sufficient to say the documented package updates remediate the listed vulnerabilities.
UNKNOWNthere is not enough public evidence in the sources reviewed here to claim that one specific cleanup action removes every persistence mechanism from every ransomware victim. Recovery claims must be based on the affected system's evidence and validated restore.
LEVEL ACISA exploitation prioritization for the separate PHP2Shell track: CISA added CVE-2026-109618 and CVE-2026-109619 to the Known Exploited Vulnerabilities catalog on 26 October 2026. That supports urgency for exposed vulnerable PHP runtimes/packages; it does not establish that PHP2Shell caused the distinct ransomware campaign Synology linked to the older DSM vulnerability.

Common failed approaches

Do not assume 'PHP2Shell caused every October Synology ransomware case.' Synology explicitly separates the old DSM exploitation from its PHP2Shell package assessment. Do not assume 'DSM has PHP, therefore the base OS is remotely exploitable through PHP2Shell'; the vendor says the internal PHP component lacks an external attack surface.

Do not update an already compromised NAS and then immediately trust it because the version is current. Do not restore a backup onto the same exposed architecture before closing the original entry path and separating backup credentials/failure domains.

Verification after remediation

Verification is a set of claims, not a green update icon.

  • DSM reports a branch-specific fixed release or later and the device is on a supported maintenance path.
  • Each relevant PHP-dependent package/runtime is at or above its vendor-fixed release, or is disabled until it can be patched.
  • Unnecessary Internet exposure has been removed; required remote access is constrained and logged.
  • No active encryption is occurring, suspicious accounts/tasks/packages are resolved, and the investigation records what was checked.
  • Recovery copies used for restoration were isolated from the suspect system and their integrity was verified.
  • A representative restored dataset/application was opened and validated before broader reconnection.
  • Backups/snapshots and credentials are redesigned if the original compromise could reach them.

Related guides

Primary sources & further reading

Sources are credited for verification, not reproduced. Linked pages may change after publication.