Intel

AIKIDO-2026-807735

php8.4-cli is vulnerable to Remote Code Execution (RCE)

CVE-2026-109619Published Oct 21, 2026
October 21, 2026

99

CVE Score

Critical

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

Affected versions of PHP are vulnerable to unauthenticated remote code execution. Request-owned session, error, or extension state can survive after its memory is freed, and a later request on the same worker can use that state before initialization resets it. Confirmed paths include session upload progress and early INI diagnostics.

How do I fix this?

Upgrade php8.4-cli to the patch version. Until the update is installed, on Debian and Ubuntu, lock php_admin_flag[session.upload_progress.enabled] = off in /etc/php/8.4/fpm/pool.d/www.conf and restart php8.4-fpm, or set php_admin_flag session.upload_progress.enabled off for libapache2-mod-php8.4 and restart apache2, because /etc/php/8.4/cli/conf.d/ does not cover FPM or Apache. On Amazon Linux 2023, /etc/php.d/ is shared with FPM, so add session.upload_progress.enabled = 0 as /etc/php.d/99-upload-progress.ini, lock /etc/php-fpm.d/www.conf, and restart php-fpm. On Elastic Beanstalk, write that drop-in from .ebextensions or a platform hook. ini_set() and FPM .user.ini do not apply in time. Remove per-request INI settings that warn before initialization. This blocks the confirmed session paths only, so the temporary mitigation may not be sufficient.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the install serves untrusted web requests from a worker that handles more than one request. Session upload progress is enabled by default.

Package

php8.4-cli

Versions

8.4.0 - 8.4.26

Fixed in 8.4.27

Background info

php8.4-cli is vulnerable to Remote Code Execution (RCE) in versions 8.4.0 - 8.4.26.

Links

Other

php.net/archive/2026.php#2026-10-20-1
https://www.php.net/archive/2026.php#2026-10-20-1
openwall.com/lists/oss-security/2026/10/21/16
http://www.openwall.com/lists/oss-security/2026/10/21/16
openwall.com/lists/oss-security/2026/10/21/17
http://www.openwall.com/lists/oss-security/2026/10/21/17
openwall.com/lists/oss-security/2026/10/21/23
http://www.openwall.com/lists/oss-security/2026/10/21/23
openwall.com/lists/oss-security/2026/10/21/7
http://www.openwall.com/lists/oss-security/2026/10/21/7
openwall.com/lists/oss-security/2026/10/22/14
http://www.openwall.com/lists/oss-security/2026/10/22/14
openwall.com/lists/oss-security/2026/10/22/15
http://www.openwall.com/lists/oss-security/2026/10/22/15
openwall.com/lists/oss-security/2026/10/22/16
http://www.openwall.com/lists/oss-security/2026/10/22/16
openwall.com/lists/oss-security/2026/10/22/19
http://www.openwall.com/lists/oss-security/2026/10/22/19
openwall.com/lists/oss-security/2026/10/22/2
http://www.openwall.com/lists/oss-security/2026/10/22/2
openwall.com/lists/oss-security/2026/10/22/20
http://www.openwall.com/lists/oss-security/2026/10/22/20
openwall.com/lists/oss-security/2026/10/23/4
http://www.openwall.com/lists/oss-security/2026/10/23/4
arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
cert-portal.siemens.com/productcert/html/ssa-166980.html
https://cert-portal.siemens.com/productcert/html/ssa-166980.html
cert-portal.siemens.com/productcert/html/ssa-566435.html
https://cert-portal.siemens.com/productcert/html/ssa-566435.html
cert-portal.siemens.com/productcert/html/ssa-566512.html
https://cert-portal.siemens.com/productcert/html/ssa-566512.html
php2shell.delftintellab.com/
https://php2shell.delftintellab.com/
cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109619
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-109619
wiz.io/blog/php2shell-php-rce
https://www.wiz.io/blog/php2shell-php-rce

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea