← Lab /Security & privacy

Unauthenticated PHP RCE bypasses app auth; only patches stop CVE-2026-109618/109619

Only applying the official PHP patches fully mitigates CVE-2026-109618 and CVE-2026-109619, and that existing configuration mitigations provide no protection.

Security & privacy Datadog Security Labs 21 Oct 2026 Disclosure Prototype evidence

Published as “PHP2Shell - Critical vulnerabilities in PHP (CVE-2026-109618, CVE-2026-109619): detection, analysis, and remediation”

Why it matters

These flaws enable unauthenticated remote code execution on a wide range of PHP deployments, requiring immediate patching.

Summary

The team reproduced two critical PHP remote code execution bugs (CVE-2026-109618, CVE-2026-109619) using unauthenticated HTTP POST requests that trigger memory-corruption before any application code runs. Their exploits work across PHP 5 through 8.5, bypassing application-level authentication and ASLR with a calibrated memory layout. They report that community mitigations such as disabling session.upload_progress do not block the attack, and only the official PHP patches remediate the issue. Datadog Workload Protection can detect the resulting shell spawns.

What they found 1

  1. Application-level authentication cannot block the attack because PHP processes the malicious request before any application code runs.

    “application-level authentication can't block an attack: PHP processes the malicious request before any application code runs.”

Caveats 2

  • The authors note that they are still analyzing and summarizing their findings, indicating incomplete coverage.
  • We're still analyzing and summarizing our findings.

What’s new here 4

  • Two new critical RCE vulnerabilities affecting PHP 5-8.5 are disclosed.
  • Exploits run before application code, bypassing authentication and ASLR.
  • Common configuration mitigations (e.g., session.upload_progress) are ineffective.
  • Datadog Workload Protection can automatically detect shell execution from exploitation.