Serverless Patch Management: How to Check Your App Engine and Cloud Run PHP Apps After GCP-2026-090

“It’s serverless, so Google patches it.” That assumption is the reason Google’s security bulletin GCP-2026-090 is worth reading closely. It covers two critical PHP session-handling flaws, CVE-2026-126714 and CVE-2026-115560, across App Engine, Cloud Run and Cloud Run functions. For many of those workloads it says customer action is required. Serverless patch management doesn’t disappear on a managed runtime. It moves, and this bulletin shows where it moves to.

This how-to explains what the bulletin says and which of your workloads Google patches for you. It then gives a six-step check you can run today.

What GCP-2026-090 actually says

Google published the bulletin on 20 November 2026 and updated it on 23 November to add patched runtime versions. It rates the issue Critical.

  • The flaws. CVE-2026-126714 is in PHP’s default files session handler. That handler writes new session data over the existing file without clearing it first. If a write is cut off at the right moment, the file can hold a mix of old and new data. PHP can then unserialize attacker-shaped bytes as objects. Code execution also needs a suitable gadget chain inside the application. CVE-2026-115560 is a separate session-serializer issue in the same area. PHP’s maintainers rate both 9.2 (CVSS 4.0), per Dark Reading and The Hacker News.
  • Affected PHP. 8.2 before 8.2.36, 8.3 before 8.3.37, 8.4 before 8.4.28 and 8.5 before 8.5.13. Upstream fixes shipped on 19 November. PHP 8.1 and older are end-of-life, and Google’s bulletin says they get no fix.
  • Affected Google products. App Engine standard (second-generation PHP runtimes), App Engine flexible, Cloud Run and Cloud Run functions.
  • Exploitation. As of the latest coverage, neither PHP’s maintainers nor the researchers report attacks in the wild. Exploitation is also not trivial, because the attacker has to interrupt a session write at the right moment.

That is not a reason to wait. PHP’s maintainers describe the mitigations as temporary and urge users to upgrade promptly.

Technical analysis: who patches what

The useful part of the bulletin is how it splits responsibility. Google sorts the affected workloads into three groups:

  1. Managed runtimes with automatic base-image updates. Google ships the patched runtime and you receive it automatically.
  2. Managed runtimes without automatic updates, or pinned to a specific patch version. Google names App Engine flexible, Cloud Run jobs and worker pools, and Cloud Functions (1st gen). You must rebuild and redeploy to pick up the fix.
  3. Self-managed containers, meaning your own Dockerfile and your own PHP. You upgrade to PHP 8.2.36, 8.3.37, 8.4.28 or 8.5.13 yourself, then rebuild and redeploy.

For every PHP app, Google also recommends setting session.upload_progress.enabled = 0. Where feasible, it recommends moving session storage off the local files handler to Redis, Memcache or a database.

Most teams can’t say from memory which group each service is in. A Cloud Run service deployed from source with automatic base-image updates is in group 1. A sibling service built from a Dockerfile two years ago is in group 3, even if it sits in the same project and has the same owner. Nothing in the console labels the second one “unpatched”.

It’s the same lesson as our forgotten internet-facing services piece: you can only patch what your inventory describes correctly. It also mirrors the Fastify middleware advisory, where exposure depended on how the app was put together, not only on the version number.

Impact assessment

  • Risk rating: High for internet-facing PHP apps that use the default files session handler and leave upload progress on. Lower for apps that keep sessions in Redis or a database, which this defect does not affect.
  • Business impact: Remote code execution in a serverless container still runs with that service’s identity. On Cloud Run, that means the attached service account and every API it can call. The container may be short-lived, but the credentials it can use often are not.
  • The slow-burn risk: Pinned and self-built images don’t fail loudly. They keep serving traffic on the old PHP until someone rebuilds them.

The six-step check

1. List every PHP workload. Run this in each project:

gcloud app versions list
gcloud run services list
gcloud run jobs list
gcloud functions list

For App Engine, check runtime: in each app.yaml (for example php83). For gcloud functions list, note which functions are 1st gen. Don’t forget Cloud Run worker pools.

2. Sort each workload into one of Google’s three groups. For Cloud Run services, check in the console whether automatic base-image updates are on. If the service was built from your own Dockerfile, it’s group 3. App Engine flexible, Cloud Run jobs and worker pools, and 1st-gen functions are group 2 unless you have confirmed otherwise.

3. Confirm the PHP version in what is actually deployed. Find the deployed image:

gcloud run services describe SERVICE --region REGION \
  --format="value(spec.template.spec.containers[0].image)"

Pull that image and run php -v. Anything below 8.2.36, 8.3.37, 8.4.28 or 8.5.13 needs work. Anything on 8.1 or older needs a runtime upgrade, not a patch.

4. Check the session settings on the PHP that serves traffic. You’re looking for session.save_handler and session.upload_progress.enabled. Settings for PHP-FPM or Apache can differ from the CLI, so verify them on the SAPI that handles requests (a temporary, access-restricted diagnostic endpoint works), not just with php -i.

5. Mitigate now and upgrade properly. Set session.upload_progress.enabled = 0. On App Engine standard, put it in your app’s php.ini. In a container, put it in a conf.d file baked into the image. Then rebuild on a fixed PHP and redeploy. The fixed upstream releases also switch upload progress off by default, so any page that relies on upload progress bars needs it turned back on deliberately.

6. Close the loop. After redeploying, repeat step 3 against the new revision. Record each service’s group (auto-updated, rebuild-required or self-managed) somewhere your team will see during the next bulletin.

The CloudShieldSecure perspective

Bulletins like GCP-2026-090 come down to a mapping problem: which of your workloads are in which responsibility group, and what each one can reach if it is compromised. CloudShieldSecure, built by CloudKonsult, keeps that context together. It inventories serverless services across projects, records the service account each one runs as, and flags internet-facing workloads whose runtime or image hasn’t been rebuilt since a critical advisory. “Google patched it” then becomes something you can check, service by service.

  • Run the six-step check across every project, not just production.
  • Treat “pinned” and “self-built” as findings in their own right during critical bulletins.
  • Move PHP sessions off the local files handler where you can. It removes this whole class of bug.
  • Review the permissions of service accounts attached to internet-facing PHP services.
  • Subscribe your on-call channel to the Google Cloud security bulletin feed.

Sources & references

Assess your security posture today

CloudShield Secure scans, validates, and prioritises threats across your entire attack surface.

Explore CloudShield Secure →
← How to Find Forgotten Internet-Facing Services in … AI-Assisted Cyberattacks Aren't Autonomous Yet, … →