CVE-2026-109619: PHP Stale Internal Request-State Vulnerability
PHP contains a stale internal request-state vulnerability that allows for unauthenticated remote code execution.
Overview
PHP contains a use-after-free vulnerability in its worker-process global state management that allows an unauthenticated remote attacker to execute arbitrary code with the privileges of the PHP worker process. The flaw exists in PHP itself, independent of any application running on top of it, meaning WordPress, Drupal, Joomla, and any other PHP-based application is affected without requiring application-level weaknesses.
All PHP versions from 5.4 through the 8.x series prior to the patched releases are affected. Apache mod_php is the highest-risk deployment because exploitation has been demonstrated through a single unauthenticated HTTP request. PHP-FPM, FrankenPHP, LiteSpeed, and LSAPI deployments are conditionally exposed depending on configuration.
Vulnerability details
Affected vendor
PHP Group
Affected product
PHP
Weakness type (CWE)
CWE-416, CWE-755, CWE-824, CWE-1325, CWE-1419
PHP worker processes retain global state across requests, including error, session, object, and extension state, that points into per-request heap memory. When a fatal error or out-of-memory condition interrupts a request before its cleanup phase completes, that global state is never reset and the request heap is freed while the pointer remains live. A subsequent request handled by the same worker can then trigger a consumer operation, such as an INI diagnostic or session upload-progress handling, that runs before normal request initialization and dereferences the freed pointer. This is a classic use-after-free (CWE-416) compounded by improper handling of exceptional conditions (CWE-755) during teardown and insufficient isolation between per-request and persistent worker state (CWE-1419).
An attacker sends two crafted HTTP requests to the same PHP worker. The first request acts as the producer: it triggers a fatal error or OOM condition, for example via deeply nested multipart fields or header-line flooding, leaving stale global state pointing into freed heap memory. The second request acts as the consumer: it triggers a session upload-progress operation or an INI diagnostic that runs before normal request initialization, dereferencing the freed pointer. The attacker also controls field padding and layout across both requests to shape the heap for reliable exploitation. Successful exploitation yields unauthenticated remote code execution with the privileges of the PHP worker process, allowing arbitrary OS command execution, credential theft, and further system compromise. Active exploitation has been observed in the wild, including second-stage payload delivery associated with the Potassium botnet.
Severity and impact
8.1
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High
Exploitation status
This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
Known ransomware campaign use
Unknown
Detection and monitoring
- Monitor web server access logs for multipart POST requests containing heavily padded or repeated form fields, particularly those targeting session upload-progress endpoints (PHP_SESSION_UPLOAD_PROGRESS), combined with OS command strings such as id, uname, wget, or curl in field values or filenames.
- Alert on outbound connections from PHP worker processes (apache2, php-fpm, litespeed) to external IP addresses, especially download attempts from /tmp or execution of dropped binaries. A PHP worker initiating wget or curl to an external host with no corresponding application-layer trigger is a strong indicator of post-exploitation activity.
- Check for the exploitation confirmation marker PHP2SHELL_CONFIRMED in web server logs or application output, which active exploit tooling has been observed printing as a validation step.
Remediation
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see References) guidance and CISA’s “Forensics Triage Requirements” (see References). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Federal (FCEB) remediation due date
October 29, 2026
Additional hardening
- Upgrade PHP to 8.2.35, 8.3.36, 8.4.27, or 8.5.12 for the respective release lines. PHP versions prior to 8.2 have no fixed release; migrate to a supported branch. See References for the vendor advisory.
- Disable session.upload_progress in php.ini (session.upload_progress.enabled = Off) on any deployment where file upload progress tracking is not required. This removes the session-consumer attack path independent of the INI-diagnostic path.
- For Apache mod_php deployments, audit and restrict .htaccess and per-directory php_value/php_flag directives to prevent attacker-influenced INI settings from acting as consumers before php_request_startup(). Where possible, disable AllowOverride to block .htaccess-based configuration changes.
- Place PHP applications behind a WAF or reverse proxy configured to block or rate-limit oversized multipart requests, deeply nested field structures, and requests containing OS command strings in form fields or filenames. CDN and WAF vendors including Cloudflare, Fastly, and Akamai published rules for this vulnerability class at disclosure time.
Key dates
Published (NVD)
October 21, 2026
Added to CISA KEV
October 26, 2026
Remediation deadline
October 29, 2026
Last updated
October 30, 2026
References
- https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp
- https://www.php.net/
- https://www.cisa.gov/news-events/alerts/2026/10/21/critical-vulnerabilities-php-require-immediate-patching
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://nvd.nist.gov/vuln/detail/CVE-2026-109619
- https://arcticwolf.com/resources/blog/php2shell-critical-php-vulnerabilities-enable-unauthenticated-remote-code-execution/
- https://php2shell.delftintellab.com/
- https://www.wiz.io/blog/php2shell-php-rce
Frequently Asked Questions
If PHP Group PHP runs inside your authorization boundary, CVE-2026-109619 is a direct concern for your Federal Risk and Authorization Management Program (FedRAMP) authorization. CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog, and the remediation deadline of October 29, 2026 has already passed. An unpatched KEV in your boundary is an assessor finding; an overdue one is visible to both your assessor and your sponsoring agency. At this point, you remediate it or formally document the mitigation and the delay.
Knox does not patch PHP Group PHP on your behalf. Under the FedRAMP shared-responsibility model, remediating this vulnerability is your obligation. What Knox provides is the pre-authorized, single-tenant boundary to carry out that remediation, along with continuous compliance monitoring and audit-artifact coverage to document the fix for your next assessment. The work of applying the patch is yours; managing your compliance posture while you do it is not something you handle on your own.
Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on an ongoing basis. When something like CVE-2026-109619 surfaces, exposure is identified through continuous monitoring rather than waiting for an assessor to flag it at a scheduled review.
Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.
If CVE-2026-109619 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing the finding and documenting why the deadline was missed is what keeps your authorization standing and the agency relationship intact.
Access Continuous Compliance
We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.