BIT-php-2026-129289: PHP-FPM request smuggling through an unread HTTP request body

Published Nov 27, 2026
·
Updated

PHP-FPM request smuggling through an unread HTTP request body.

PHP does not discard the unread part of an HTTP request body at request shutdown when the application has opened php://input without reading it to the end. When the front end reuses backend connections, which is not the default in nginx or Apache (for example nginx with fastcgikeepconn on, or Apache modproxyfcgi with enablereuse=on), PHP-FPM can parse the leftover bytes as a new FastCGI request. An unauthenticated remote attacker can use a single crafted multipart/form-data request to forge a backend request with chosen parameters such as SCRIPTFILENAME, REMOTEADDR and PHPADMINVALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI, subsequent requests on the connection can be disrupted.

This issue affects PHP versions before 8.2.36, 8.3. before 8.3.37, 8.4. before 8.4.28 and 8.5. before 8.5.13.

Affected Software

12 affected componentsFixes available
bitnami/libphp>=8.2.0<8.2.36
8.2.36
bitnami/libphp>=8.3.0<8.3.37
8.3.37
bitnami/libphp>=8.4.0<8.4.28
8.4.28
bitnami/libphp>=8.5.0<8.5.13
8.5.13
bitnami/php>=8.2.0<8.2.36
8.2.36
bitnami/php>=8.3.0<8.3.37
8.3.37
bitnami/php>=8.4.0<8.4.28
8.4.28
bitnami/php>=8.5.0<8.5.13
8.5.13
bitnami/php-min>=8.2.0<8.2.36
8.2.36
bitnami/php-min>=8.3.0<8.3.37
8.3.37
bitnami/php-min>=8.4.0<8.4.28
8.4.28
bitnami/php-min>=8.5.0<8.5.13
8.5.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.2.36
  2. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.3.37
  3. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.4.28
  4. Upgrade

    Upgrade bitnami/libphp to a version that resolves this vulnerability.

    Fixed in 8.5.13
  5. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.2.36
  6. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.3.37
  7. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.4.28
  8. Upgrade

    Upgrade bitnami/php to a version that resolves this vulnerability.

    Fixed in 8.5.13
  9. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.2.36
  10. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.3.37
  11. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.4.28
  12. Upgrade

    Upgrade bitnami/php-min to a version that resolves this vulnerability.

    Fixed in 8.5.13
  13. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.2.36
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.3.37
  15. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.4.28
  16. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.5.13

Event History

Nov 27, 2026
Advisory Published
via OSV·05:47 AM
Data Sourced
via OSV·05:47 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to the PHP-FPM request-smuggling condition?

The condition requires PHP-FPM behind a front end that reuses backend FastCGI connections. This is not the default for nginx or Apache, but examples include nginx with fastcgi_keep_conn enabled and Apache mod_proxy_fcgi with enablereuse enabled.

2

What does an attacker need to exploit this issue?

An unauthenticated remote attacker can send a single crafted multipart/form-data request. Exploitation depends on an application opening php://input without reading the request body to its end, leaving bytes for PHP-FPM to interpret on a reused backend connection.

3

What can happen if exploitation succeeds?

An attacker can forge a backend request with chosen parameters, including SCRIPT_FILENAME, REMOTE_ADDR, and PHP_ADMIN_VALUE. This can lead to execution of attacker-controlled PHP code; with LSAPI, later requests on the affected connection can also be disrupted.

4

What mitigation is available if PHP cannot be upgraded immediately?

Disable frontend-to-PHP-FPM backend connection reuse where possible. For nginx, this means avoiding fastcgi_keep_conn; for Apache mod_proxy_fcgi, avoid enablereuse.

5

Which PHP versions contain the fix?

Upgrade to PHP 8.2.36, 8.3.37, 8.4.28, or 8.5.13 or later within the applicable release branch. Versions before those releases are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203