Intel

AIKIDO-2026-192319

php8.1-fpm is vulnerable to Remote Code Execution (RCE)

CVE-2026-115560Published Oct 23, 2026
October 23, 2026

88

CVE Score

High

Remote Code Execution (RCE)

Are you affected? Scan for Free

TL;DR

End-of-life PHP 5, PHP 7, PHP 8.0, and PHP 8.1 packages are vulnerable to remote code execution when session upload progress writes data with one session serializer and application code switches to the php serializer before starting the session. The serializer mismatch can cause crafted session data to be interpreted unsafely. These branches will not receive a fix.

How do I fix this?

No patched release will be published for these end-of-life PHP branches. On Debian and Ubuntu, lock it with php_admin_flag[session.upload_progress.enabled] = off in /etc/php/8.1/fpm/pool.d/www.conf and restart php8.1-fpm. A drop-in in /etc/php/8.1/fpm/conf.d/ with session.upload_progress.enabled = 0 is also read. On Amazon Linux 2023, lock it in /etc/php-fpm.d/www.conf, add session.upload_progress.enabled = 0 as /etc/php.d/99-upload-progress.ini, and restart php-fpm. On Elastic Beanstalk, write that drop-in from .ebextensions or a platform hook so replacement instances keep it. ini_set() and FPM .user.ini do not apply in time. Applications that never change session.serialize_handler at runtime can keep upload progress enabled. Move to a supported PHP release once a fixed version is published.

Who does this affect?

You are affected if session.serialize_handler is configured as php_binary or php_serialize, application code changes it to php with ini_set() before calling session_start(), and session upload progress remains enabled. Applications that never change the session serialization handler at runtime are not exposed through this path.

Package

php8.1-fpm

Versions

0.0.0 - *

No fix available

Background info

php8.1-fpm is vulnerable to Remote Code Execution (RCE) in all versions.

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