r/sysadmin • u/xtal000 Linux Admin • Oct 20 '26
General Discussion Upcoming PHP core RCE vulnerability patches (CVE-2026-109618 & CVE-2026-109619)
A heads up in case you weren't aware, a patch is being released tomorrow for two RCEs found in PHP core by Calif\1].) It affects PHP version 5 onwards\2].)
The RCE appears to work on default installations of many commonly deployed services and frameworks such as WordPress, Magento, Laravel and more\3].)
If you have deployed any service that runs on PHP, prepare to patch ASAP. As soon as the patch drops, attackers will begin to weaponise the vulnerability at scale.
Patch is reportedly being released at 14:00 UTC, however as per PHP's announcement (We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild.), it may well drop sooner since details are beginning to leak.
[1] https://www.php.net/index.php#2026-10-20-1
[2] https://watchtowr.com/intelligence/php-cve-2026-109618-faq/
[3] https://x.com/k_firsov/status/2112641845926989944
EDIT 03:00 UTC - A PoC for the vulnerability has dropped within the past hour: https://jackalsyn.com/posts/php-up-2026.html. This post mentions potential mitigations, but to be safe you should take any internet-facing PHP apps offline ASAP until you can patch properly, less you risk getting pwned. 🫡
EDIT - Patches are out: https://www.php.net/archive/2026.php#2026-10-21-5
24
u/matt_daoust Oct 21 '26
Could this Cloudflare waf update : https://developers.cloudflare.com/changelog/product/waf/
be related? Very odd timing + no explanation 👀
10
u/Hopefullyanonymous2 Oct 20 '26
Possibly dumb question. Why is the patch hitting at the same time as the information needed to weaponize it? Is it just because PHP is open source, so the fix will be obvious?
34
u/BodybuilderMinute509 Oct 20 '26 •
he narrates his own patch cycle in third person. “he’s already prepping the coffee, it’s gonna be a long night.”
28
u/dwm Oct 20 '26
This is going to make tomorrow a busy day.
> Fixed versions will be 8.5.12, 8.4.27, 8.3.36, 8.2.35
> All others are end-of-life but are still vulnerable - the vulns date back to versions from 2004 onwards.
--- https://cyberplace.social/@GossiTheDog/117474951442810591
20
u/MakersLab Oct 20 '26 •
going to be a fun day tomorrow...
19
u/MurkyCauliflower8175 Oct 21 '26
Jackal and I and Archie/Yuki did this. It was extremely easy. We put out mitigations and hope most people will pre mitigate because APTs and blackhats have likely already started exploitation prior our PoC
8
u/Old_Adeptness5169 Oct 21 '26 edited Oct 21 '26
Update after PHP's advisories: the session upload-progress handler is one of the confirmed routes, but not the only one. The advisories also describe out-of-memory tricks in the multipart parser, plus some routes no extension can close. v3 carries the fixed multipart parser with a memory guard and keeps the upload-progress handler out, which on typical PHP-FPM hosting closes the routes that work before any application code runs. Still a stopgap: update to 8.5.12/8.4.27/8.3.36/8.2.35 (or your distro's backport) as soon as you can. Thanks to everyone who pushed back today.
Disclosure: I'm with Hosted Power (hosting company).
Patch today; that's the real fix. Sharing this for the part you can't patch today: 8.1 and older, panel PHP versions, that one customer still on 7.2.
We built a small open-source PHP extension that switches off the session upload-progress handler (where the researchers who reproduced the bugs placed them) when PHP starts. Uploads and forms keep working, and unlike
session.upload_progress.enabled = Off, a site can't turn it back on with.user.inior.htaccess. To check a box:php --ri hp_uploadprogress_guard.https://github.com/HOSTED-POWER/php_uploadprogress_guard
To be clear: it's a few hours old and targets the bug as described so far. We'll check it against the official details at 14:00 UTC and post the result here. If you spot a problem, issues are open.
6
u/Miserable-Scholar215 Jr. Sysadmin Oct 21 '26
Related question:
How do you (or specifically I) find all in-house PHP installations?!? They are not packaged and/or rolled out by SCCM/Intune. 99.9% are components of WordPress and other stuff, which I do not have a comprehensive list of.
I confirmed on one single server an 8.2.12 version which appears in no known (to me) query results for PHP installs. And for that very server I can't even patch myself, I have to wait for the vendor to patch this (and retrace all dependencies).
5
u/lylesback2 Oct 21 '26
It must be pretty big and easily exploitable to be given a 9.2 CVE.
I guess I'll be refreshing to update tomorrow.
5
u/MaybeIsaac Oct 21 '26
How long does it typically take for the docker hub images to get updated (EG: `php:8.5-fpm-alpine`)?
4
u/Forte1118 Oct 21 '26
How do other teams typically handle this stuff? Does someone hop on and start patching (or in this case, mitigating) upon discovery, regardless of time or day?
We don't have a vuln management program. I read about emergencies here and deal with them next business day, during hours. Are we not giving proper attention?
4
u/MakersLab Oct 21 '26
Update is posted
https://www.php.net/archive/2026.php#2026-10-21-4
3
u/waiver45 Oct 21 '26
Anybody else that had surprisingly little push back from customers about turning things off for the time being? I just hat to say that LLMs have a decent chance of exploiting this from the rumours alone and are certain to exploit it within minutes of the patches hitting and I was allowed to take everything down for a few hours by multiple customers.
4
u/HktG Oct 21 '26
Looks like affects PHP 5.4 and up
https://x.com/rina4_tot/status/2112687438753612262
2
u/Trouble4uAll Oct 21 '26
How vulnarable are sites that dont use any framework and have no upload facilities?
2
u/Ex1v0r Netadmin Oct 21 '26 edited Oct 21 '26
Saw the first report that the vulnerability is still present after the patches:
https://fedi.katze.sh/@elise/117479383739450605
Edit: Seems to be a new vulnerability and asan needs to be enabled..
1
u/bluecrowned Oct 21 '26
Can someone ELI5 this to me? My friend DMed me about this because he hosts a website for me but I'm clueless lol
1
u/AggravatingMoney8224 Oct 21 '26
i see in my country a big response with sites taken down. ( source Live | Van RIVM tot ANWB: steeds meer websites offline vanwege kwetsbaar PHP - NU.nl)
we do have 2 appliances that are vulnerable.
one is pure internal i assume this one is "safe-ish" since not internet facing.
The other one im not sure its internet facing on: 2 not so common ports for agent communication it doesnt offer the webui or traffic via those ports.
how big is the risk for this
1
u/siavashmusic Oct 21 '26
Has Docker Hub published 8.4.27-fpm? I can't find it
1
u/YamAdmirable9832 Oct 21 '26
No one will read this:
Interestingly, because vulnerability is RCE (remote code execution), they could use it to inject the patch on vulnerable servers and even force reboot if necessary
1
u/YamAdmirable9832 Oct 21 '26
Interestingly, because vulnerability is RCE (remote code execution), they could use it to inject the patch on vulnerable servers and even force reboot if necessary
1
u/faelynaris Oct 20 '26 •
Time to prepare popcorn 🍿
1
u/PossibilityOrganic Oct 21 '26
Its going to break stuff but do it anyways, this is what will stop it right now do both now.
in ngnix
client_max_body_size to under 3MB (smaller the better) < default is 1MB if your running stock nginx.
and
in php.ini
session.upload_progress.enabled = off
0
u/mentalinertia_ Oct 21 '26
Where is everyone getting only current pho versions will be patched we have seen these get updates for older pho for critical things like this.
-2
u/machinetranslator Oct 21 '26 edited Oct 22 '26
I'm so stumped on why people are still using outdated PHP versions man.
Update: the first hour we read on sansec’s page that it only affected 8.2<
-1
u/No-Reporter-5013 Oct 21 '26
At https://news-web.php.net/php.qa/69556 they already released 8.4.27RC1, doesnt that make the vulnerability open?
0
u/[deleted] Oct 20 '26
[deleted] — view deleted comment
0
u/[deleted] Oct 21 '26
[deleted] — view deleted comment
0
u/[deleted] Oct 21 '26
[deleted] — view deleted comment
7
u/[deleted] Oct 21 '26 edited Oct 21 '26
[removed] — view removed comment