# php2shell: the flaw hiding all across the web

DevFeed: [php2shell: the flaw hiding all across the web](<https://devfeed.tech/articles/php2shell-the-flaw-hiding-all-across-the-web-93938.md>)

Original publisher: [Read original article](<https://www.harness.io/blog/php2shell-the-flaw-hiding-all-across-the-web>)

Author: Soujanya Namburi

Published: 2026-10-21T00:00:00Z

Content type: article

Language: en

Sources: [Harness](<https://devfeed.tech/sources/harness-blog.md>)

Topics: [code security](<https://devfeed.tech/topics/code-security.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [cve remediation](<https://devfeed.tech/topics/cve-remediation.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [actor](<https://devfeed.tech/tags/actor.md>), [all](<https://devfeed.tech/tags/all.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [execution](<https://devfeed.tech/tags/execution.md>), [harness](<https://devfeed.tech/tags/harness.md>), [patching](<https://devfeed.tech/tags/patching.md>), [php](<https://devfeed.tech/tags/php.md>), [php2shell](<https://devfeed.tech/tags/php2shell.md>), [remote](<https://devfeed.tech/tags/remote.md>), [remote-code-execution](<https://devfeed.tech/tags/remote-code-execution.md>), [servers](<https://devfeed.tech/tags/servers.md>), [the-web](<https://devfeed.tech/tags/the-web.md>), [virtual](<https://devfeed.tech/tags/virtual.md>), [virtual-patching](<https://devfeed.tech/tags/virtual-patching.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

php2shell describes two critical PHP runtime flaws that can let unauthenticated attackers execute commands as the web server user. CVE-2026-109618 exploits failed request startup, with the article identifying Apache mod_php as the strongest exposure; CVE-2026-109619 uses stale pointers across requests on the same worker and also affects PHP-FPM. The excerpt says PHP versions back to 5.4 are affected, while PHP 8.1 and earlier lack new official releases. Updating PHP and restarting servers and workers is the complete fix; check vendor changelogs for backported fixes. As a temporary bridge, reduce upload and POST limits, disable upload-progress tracking and restart workers, or use a WAF rule. Harness offers a php2shell virtual patch that can be applied directly or from a scan finding, with Monitor and Block modes; blocking requires Harness deployed inline, and new attack variants may emerge. The excerpt recommends inventorying forgotten PHP installations.

## Source excerpt

Discover how php2shell vulnerabilities expose PHP servers to remote code execution and how Harness virtual patching protects endpoints while you deploy fixes. | Blog