New York, United States, October 28th, 2026, CyberNewswire
New hands-on lab lets security practitioners explore PHP2Shell exploitation firsthand as AI-assisted research reshapes vulnerability discovery.
OffSec today introduced the launch of a free, interactive hands-on lab within Proving Grounds Play (PG Play), designed to help security professionals investigate and defend against the critical “PHP2Shell” security flaws (CVE-2026-109618 and CVE-2026-109619). Created in response to active attacks targeting foundational PHP engines and accelerated by AI-driven vulnerability research, the lab offers penetration testers and enterprise defenders a safe and structured environment to analyze these decade-old memory corruption issues and deploy prompt server mitigations.
These two severe flaws had remained hidden inside PHP—the underlying language for approximately 70% of websites with known server-side languages—for more than ten years, until researchers at Google-owned cloud security firm Wiz directed AI tools at the source code.
The first vulnerability was uncovered on August 19. By the following day, the researchers utilized it to successfully compromise a Drupal website without requiring a password. On the third day, the exploit worked similarly against WordPress.
The PHP project officially disclosed both vulnerabilities on October 21 as CVE-2026-109618 and CVE-2026-109619. Unauthenticated attackers can transmit a sequence of specifically designed web requests to crash a server or gain complete control over it. Although working exploits were already operational, PHP’s severity scoring categorizes both vulnerabilities as complex to exploit. The Cybersecurity and Infrastructure Security Agency (CISA) has advised organizations to apply patches immediately.
Threat actors are moving rapidly. Amazon has characterized PHP2Shell as being widely exploited in the wild. By October 24, researchers confirmed malicious actors executing commands on compromised honeypot servers, and CISA incorporated both flaws into its Known Exploited Vulnerabilities catalog on October 26.
“PHP is one of those technologies attackers love to see,” said Keegan Bowen, principal DevOps lead at OffSec. “It has been a great attack vector over the years with many exploits and potential abuses. PHP wasn’t designed with security from the start.”
Having provided practical offensive security training since 2006, OffSec has made its free PHP2Shell lab available via Proving Grounds Play (PG Play). The environment equips penetration testers and security specialists to examine CVE-2026-109618 and CVE-2026-109619 directly. Detailed breakdowns of both security issues are available on OffSec’s blog, and a corresponding proof-of-concept exploit can be accessed on Exploit-DB.
AI and the Evolving Pace of Exploitation
PHP assigned both vulnerabilities a critical score of 9.2 out of 10. To construct a working attack, the Wiz researchers had to chain multiple bugs together and calibrate the exploit to the memory layout of each individual server. When utilizing AI to automate the process, a single researcher accomplished in one week what previously required a specialized team an entire month to achieve. Because malicious actors leverage identical AI capabilities, vulnerabilities previously dismissed as overly complex are now practical targets.
“At this point, attackers are heavily leaning on AI to find and exploit vulnerabilities; the rate of CVEs is roughly double what was reported last year,” said Matt Freitas-Stavola, staff software engineer at OffSec. “LLMs don’t get tired and can easily run in the background for as long as attackers have money or compute to spare. Even now, just a hint of where an issue could arise is enough for an LLM to get a workable POC out relatively quickly.”
The Effects of These Flaws
Both vulnerabilities originate from the same underlying mechanism: how PHP handles requests that exhaust available memory or trigger other fatal errors.
“PHP is built from C and memory management becomes increasingly challenging as the code grows,” Bowen said. “Some out-of-memory states were not handled well. In some cases, attackers can access interrupted state data before it is cleaned up. That becomes an opportunity for abuse.”
This residual state can persist into subsequent requests handled by the same worker process. An attacker capable of manipulating this state can execute code under the security privileges of the web server.
Furthermore, these same flaws can facilitate data leakage. Wiz demonstrated that attackers could potentially read memory directly from the PHP process, exposing sensitive information such as passwords, session tokens, API keys, and certificates originating from other requests or the server itself.
The situation remains dynamic. On October 23, PHP disclosed an additional flaw, designated CVE-2026-115560, which impacts fully patched servers utilizing specific, uncommon session configurations. A definitive fix for this issue has not yet been released by PHP. Researchers have also developed PHP2Shell exploits capable of bypassing Address Space Layout Randomization (ASLR), a standard memory defense mechanism, suggesting that further vulnerabilities may be discovered as analysis continues. As research moves forward, additional security issues, exploitation methods, and defensive measures could materialize beyond those detailed here.
OffSec’s Current Recommendations
These actions reflect the current understanding at the time of publication. Organizations should consult CISA and the PHP project directly for the most up-to-date guidance.
-
Patch PHP Now. Update to PHP versions 8.5.12, 8.4.27, 8.3.36, or 8.2.35 to remediate CVE-2026-109618 and CVE-2026-109619. Verify updates through official vendor advisories rather than relying strictly on version numbers.
-
Update the Underlying PHP Engine. Upgrading applications like WordPress or Drupal does not resolve underlying vulnerabilities within PHP itself. Rebuild affected container images and restart PHP processes to ensure updated code is active.
-
Apply Temporary Protections While Patching. Disable PHP session upload progress via
session.upload_progress.enabled=0, which also provides mitigation against CVE-2026-115560. On PHP 8.5 deployments, disable fatal error backtraces and restart impacted workers following configuration modifications. These steps reduce exposure but do not substitute for formal patching. -
Investigate Potential Compromise. Audit web server and PHP logs for anomalous multipart requests, memory-limit errors, recurrent HTTP 500 status codes, malformed session cookies, and unexpected PHP worker restarts. Reviews should encompass activity dating back to at least October 17, when initial exploitation attempts were documented. Rotate potentially impacted credentials, API keys, and authentication tokens accordingly.
Understand the Exploit. Strengthen the Defense.
When a new disclosure emerges, security teams must rapidly evaluate their level of organizational exposure. Reading about an exploit establishes theoretical awareness, whereas practical, hands-on engagement builds the operational capability required to respond effectively.
The PHP2Shell lab provided by OffSec enables practitioners to transform theoretical knowledge into practical skills applicable to future security incidents. For a comprehensive examination of these vulnerabilities, review OffSec’s technical analysis. Enterprises seeking to cultivate these competencies across internal security teams can investigate OffSec’s workforce development programs.
About OffSec
OffSec is a prominent provider of advanced cybersecurity training and certifications. Grounded in a commitment to excellence, integrity, and the persistent “Try Harder” mindset, OffSec equips individuals and enterprises to counter evolving cyber threats through practical, rigorous education.
Contact
Press Team
OffSec
Kathryn@kbmediaconsulting.com



