SYNCTECH
Security · · by the Synctech team

Synology NAS PHP packages: update to fix PHP session flaws

Synology NAS PHP packages: update to fix PHP session flaws

Synology published advisory Synology-SA-26:22 on 24 November 2026 about holes in the PHP 8.2, 8.3 and 8.4 packages for DSM and DSM Enterprise. It rates them Important and says they can let a remote attacker run code. Fixed packages are out now. If your NAS has any of these PHP packages installed, update them in Package Center.

Which Synology packages are affected?

Package Synology rating Update to
PHP 8.2 on DSM 7.2 or newer Important 8.2.36-0172 or newer
PHP 8.2 on DSM Enterprise 1.0 or newer Important 8.2.36-0135 or newer
PHP 8.3 Important 8.3.37-0052 or newer
PHP 8.4 Important 8.4.28-0052 or newer
Hyper Backup, Glacier Backup, Mail Station Not affected Nothing to do

These are the PHP flaws fixed in PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Synology's page lists seven of them and says several do not apply to its builds. The ones that do apply involve how PHP handles sessions, including the flaw known as "phpAfterShell". You can read more in our earlier post on the PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 security releases.

Does my office NAS need this?

Only if the PHP packages are installed. Many office NAS boxes are used just for file sharing and backups and never had PHP added. If nobody installed them, there is nothing to update for this advisory, but keep DSM itself up to date.

What to do

  1. Sign in to DSM as an administrator and open Package Center.
  2. Look under Installed for PHP 8.2, PHP 8.3 or PHP 8.4.
  3. If an update is waiting, click Update and wait for it to finish. Check the version against the table above.
  4. If you cannot update yet, Synology suggests not running the PHP 8.3 or 8.4 package until the fixed release is installed, and setting session.upload_progress.enabled to 0 in the PHP settings to block phpAfterShell.
  5. After the update, open any website or web app the NAS runs and check it still loads.
  6. Remove PHP packages that nobody uses any more. Fewer packages means fewer updates to miss.

How SyncTech can help

If your website runs on a NAS in the office and updates are hard to keep up with, our business web hosting keeps PHP patched for you.

Source and credit

We are sharing this news from Synology. This summary is written by Synctech in our own words.

Related announcements

Questions? Open a ticket or WhatsApp +6016-7618518.