Google Cloud PHP runtimes affected by session handler flaw
Source: Google Cloud security bulletins
AI-assisted summary. Every claim links to a primary source below. How this is made · Report a correction
What changed
CVE-2026-126714 affects PHP 8.5 before 8.5.13, 8.4 before 8.4.28, 8.3 before 8.3.37, 8.2 before 8.2.36, and PHP 8.1 and 7.2. Google is preparing updated managed runtimes and base images; no upstream fix is available for PHP 8.1 or 7.2.
Why it matters
The flaw affects App Engine Standard second-generation PHP 7.2–8.5 runtimes, App Engine Flexible, Cloud Run and Cloud Run functions. An unauthenticated remote attacker can execute arbitrary code through the affected session handler.
What to do
- If upload progress tracking is not required, set session.upload_progress.enabled = 0 in php.ini.
- Where feasible, switch session storage from local files to an external store such as Redis, Memcache or a database.
- For Cloud Run containers and App Engine flexible custom runtimes, upgrade to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13, then rebuild and redeploy.
- For App Engine flexible managed PHP runtimes, Cloud Run jobs and worker pools, Cloud Functions (1st gen), and deployments pinned to a patch version, rebuild and redeploy when updated runtime images are published.
- For PHP 7.2 or 8.1, upgrade to a supported PHP runtime or apply the session configuration mitigations.
Sources
- GCP-2026-090 — Google Cloud security bulletins primary