Synology NAS PHP packages: update to fix PHP session flaws
- Alerts
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
- Sign in to DSM as an administrator and open Package Center.
- Look under Installed for PHP 8.2, PHP 8.3 or PHP 8.4.
- If an update is waiting, click Update and wait for it to finish. Check the version against the table above.
- 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.
- After the update, open any website or web app the NAS runs and check it still loads.
- 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.
- Synology-SA-26:22 PHP, Synology, 24 November 2026: https://www.synology.com/en-global/security/advisory/Synology_SA_26_22 Retrieved 27 November 2026. Synology, DSM and PHP are trademarks of their owners. Synctech is not connected with them. This is general information, not legal, tax or financial advice. If anything here is wrong, email support@synctech.com.my and we will correct it.
Related announcements
-
Critical Visio flaw: check your Office has the November 2026 update
25 November 2026
-
Ghostscript Upload2Shell flaw: update WordPress, PCs and print servers
22 November 2026
-
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 fix critical security flaws
20 November 2026
-
nginx 1.30.7 and 1.31.9 fix 10 flaws including HTTP/2: update now
19 November 2026
Questions? Open a ticket or WhatsApp +6016-7618518.