Impact
Unauthenticated remote code execution as the PHP web worker. The second flaw can also expose passwords, tokens and keys from other requests.
PHP2Shell
PHP shipped emergency releases on 2026-10-21 for two memory-safety flaws in the runtime itself. Wiz Research, OpenAI Codex Security and Calif are credited; Wiz and Calif both describe using frontier AI models in the audit.
VERIFIED EVENT RECORD
Unauthenticated remote code execution as the PHP web worker. The second flaw can also expose passwords, tokens and keys from other requests.
Update to 8.5.12, 8.4.27, 8.3.36 or 8.2.35 and restart Apache, PHP-FPM and long-running workers. Unsupported branches depend on your distribution or LTS vendor.
PRIMARY SOURCES
PHP Security Team · 2026-10-21
PHP Security Team · 2026-10-21
The PHP Foundation · 2026-10-21
NIST · 2026-10-21
CISA · 2026-10-26
DEFENSIVE PROMPT KIT
Choose a task and copy the complete prompt into Claude Code, Codex, or a similar tool that can read your own repositories and servers. The current event list is inserted automatically.
Prompt content
Task: determine whether my environment is affected by the events below. Event data: - PHP2Shell (PHP) CVEs: CVE-2026-109618, CVE-2026-109619 Fixed versions: 8.5.12, 8.4.27, 8.3.36, 8.2.35 Source: https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w Inventory repositories, lockfiles, container images, package manifests, service configuration, public entry points, and running versions. Compare affected ranges, required conditions, and fixed versions. For every conclusion, show the evidence, confidence, and information a person still needs to provide. Rules: Work only on systems the user owns or is authorised to manage. Remain read-only until a person approves. Produce a plan and evidence first. Never change production, restart services, or rotate secrets without explicit approval. Confirm every fact at the vendor advisory and CVE record instead of relying on memory. Record what you checked and what you could not check. Do not scan third-party hosts or run attack simulations.
The prompt asks an agent to inventory, verify facts, and prepare a plan. It grants no permission to modify production and does not replace the vendor advisory, CVE record, national CERT, or your change process.
OPERATIONALIZE THE RESPONSE
Tenten can connect asset inventory, source monitoring, exposure verification, and human approval to your existing engineering process.
Discuss a Security Watch workflowThis page contains defensive information and is not an official advisory. Versions, patches, and exploitation status can change. Check the vendor advisory, CVE record, and your national CERT before acting.