# ☢ \[CVE-2026-XXXXXXX\] Critical vulnerability in PHP, upgrade system package ASAP!

**URL:** <https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397>\
**Category:** Security\
**Tags:** french, english\
**Created:** [November 19, 2026, 1:50pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397 "2026-11-19T13:50:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![YunoHost](https://forum.yunohost.org/user_avatar/forum.yunohost.org/yunohost/32/371_2.png) [@YunoHost](https://forum.yunohost.org/u/YunoHost)\
**Post date:** [November 19, 2026, 1:50pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/1 "2026-11-19T13:50:56Z")

</div>

🇬🇧 **A critical vulnerability in PHP has been disclosed and fixed with following PHP versions PHP 8.5.13, PHP 8.4.28, PHP 8.3.37 and PHP 8.2.36. Some of those version are now available**

We encourage you to **perform YunoHost system upgrade as soon as possible**.

- **via the Web UI** : go at `https://domain.tld/yunohost/admin/#/update`, click “Retrieve available updates”, and then “Upgrade” under the “System” section
- **via SSH** : `sudo yunohost tools update && sudo yunohost tools upgrade system `

More details:  
 → [PHP: News Archive - 2026](https://www.php.net/archive/2026.php#2026-11-18-1)

🇫🇷 **Une faille critique dans PHP vient d’être publiée et est corrigée avec les versions suivantes PHP 8.5.13, PHP 8.4.28, PHP 8.3.37 and PHP 8.2.36. Certaines versions semblent maintenant disponibles.**

Nous vous encourageons à **mettre à jour les paquets système de votre instance YunoHost dès que possible**.

- **via l’interface web** : allez sur `https://domaine.tld/yunohost/admin/#/update`, cliquez sur “Récupérer les mises à jours disponibles”, puis sur “Mettre à jour” sous la section “Système”.
- **via SSH** : `sudo yunohost tools update && sudo yunohost tools upgrade system `

Plus d’informations:  
 → (anglais) [PHP: News Archive - 2026](https://www.php.net/archive/2026.php#2026-11-18-1)

---

<div class="post-metadata">

**Author:** ![ljf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ljf/32/58_2.png) [@ljf](https://forum.yunohost.org/u/ljf)\
**Post date:** [November 19, 2026, 1:57pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/2 "2026-11-19T13:57:03Z")

</div>

Yes, lately it has become more complicated to self-host due to these vulnerabilities. We hope that the discoveries made by AI will eventually become less frequent.

Hang in there—we’re doing our best to simplify these monitoring and maintenance tasks.

Security issues have delayed some of our projects, but even though we haven’t had much time to communicate, [we still need your donations](https://yunohost.org/donate.html) and hope to be back with good news in a few days.

---

<div class="post-metadata">

**Author:** ![tommi](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tommi/32/4537_2.png) [@tommi](https://forum.yunohost.org/u/tommi)\
**Post date:** [November 19, 2026, 2:30pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/3 "2026-11-19T14:30:31Z")

</div>

Looks like Sury has provided the update. It should be available now.

---

<div class="post-metadata">

**Author:** ![dosch](https://forum.yunohost.org/user_avatar/forum.yunohost.org/dosch/32/368_2.png) [@dosch](https://forum.yunohost.org/u/dosch)\
**Post date:** [November 19, 2026, 2:30pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/4 "2026-11-19T14:30:33Z")

</div>

Updated!

Can I use this space to express my deepest en sincerest gratitude to @ljf and everyone from @YunoHost for this fast response, monitoring and your ongoing work to make self-hosting not only easy, but also as secure as can be.

I love you ❤

---

<div class="post-metadata">

**Author:** ![tmb](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/7c8e57/32.png) [@tmb](https://forum.yunohost.org/u/tmb)\
**Post date:** [November 19, 2026, 11:45pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/5 "2026-11-19T23:45:03Z")

</div>

Hm, got an “upgrade denied” in the log:

```auto
WARNING /usr/sbin/policy-rc.d returned 101, not running 'restart nginx.service'
INFO + Unpacking nginx (1.22.1-9+deb12u11) over (1.22.1-9+deb12u10) ...
INFO + Setting up nginx (1.22.1-9+deb12u11) ...
WARNING invoke-rc.d: policy-rc.d denied execution of upgrade.

```

apparently due to the following file existing, maybe since YNH11-\>12 upgrade (for no reason known to me):

```auto
root@<host>:~# ls -l /usr/sbin/policy-rc.d 
-rwxr-xr-x 1 root root 55 Aug 31 13:18 /usr/sbin/policy-rc.d
root@<host>:~# cat /usr/sbin/policy-rc.d 
#!/bin/bash
[["$1" =~ "nginx"]] && exit 101 || exit 0root@<host>:~#

```

Note the wrong not-newline-terminated file format.  
A manual `systemctl restart nginx.service` did not complain.

---

<div class="post-metadata">

**Author:** ![Nardanaito](https://forum.yunohost.org/user_avatar/forum.yunohost.org/nardanaito/32/4085_2.png) [@Nardanaito](https://forum.yunohost.org/u/Nardanaito)\
**Post date:** [November 20, 2026, 2:52pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/6 "2026-11-20T14:52:22Z")

</div>

Bonjour,

Bravo pour votre réactivité et plus globalement pour ce beau projet Yunohost que j’utilise depuis des années pour un serveur personnel.

Cordialement  
Nicolas

---

<div class="post-metadata">

**Author:** ![tmb](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/7c8e57/32.png) [@tmb](https://forum.yunohost.org/u/tmb)\
**Post date:** [November 22, 2026, 1:03pm UTC](https://forum.yunohost.org/t/cve-2026-xxxxxxx-critical-vulnerability-in-php-upgrade-system-package-asap/43397/7 "2026-11-22T13:03:30Z")

</div>

> [@tmb](#):
>
> got an “upgrade denied” in the log:

Hm, seems all Yunohosts that have been upgraded to YNH12 have this upgrading problem.

Due to no cleaning up of the file `/usr/sbin/policy-rc.d`, which has also already been identified as cause for another known bug, see:

> <https://github.com/YunoHost/issues/issues/2549>
>
> \### Describe the bug
> 
> \* logrotate renames and creates files
> \* nginx keeps using …the old files (now renamed \*.1)
> 
> 
> https://serverfault.com/questions/1031715/nginx-service-rotate-doesnt-use-new-log-files
> 
> \`\`\`
> \# cat /etc/logrotate.d/nginx 
> /var/log/nginx/\*.log {
> daily
> missingok
> rotate 14
> compress
> delaycompress
> notifempty
> create 0640 www-data adm
> sharedscripts
> prerotate
> if \[-d /etc/logrotate.d/httpd-prerotate \]; then \\
> run-parts /etc/logrotate.d/httpd-prerotate; \\
> fi \\
> endscript
> postrotate
> invoke-rc.d nginx rotate \>/dev/null 2\>&1
> endscript
> }
> \`\`\` 
> 
> but…
> \`\`\`
> root@repo:/home/yunohost# invoke-rc.d nginx rotate
> invoke-rc.d: policy-rc.d denied execution of rotate.
> \`\`\`
> 
> 
> We should use this postrotate instead:
> \`\`\`
> /bin/kill -USR1 \`cat /run/nginx.pid 2\>/dev/null\` 2\>/dev/null || true
> \`\`\`

> [@Fail2ban monitoring empty files](https://forum.yunohost.org/t/fail2ban-monitoring-empty-files/42284/18):
>
> No output ? So let’s try this sudo nano /usr/sbin/policy-rc.d Comment out the line # #!/bin/bash # [["$1" =~ "nginx"]] && exit 101 || exit 0 and retry sudo invoke-rc.d nginx rotate

* * *

To to see if there are non-working log files (`.log` empty, and `.log.1` still written to) see, e.g.:  
`find /var/log/nginx/ -name '*.log' -size 0 | { while read; do ls -l $REPLY $REPLY.1; echo; done; }`
