PatchClock

PHP security digest · 23 Sep 2026

The Cloud module enables users to manage cloud resources through Drupal. The module does not sufficiently sanitize user-controlled Git branch and repository UR...

Unrated CVE-2026-96376

Package
drupal/cloud
Fixed in
7.0.1
Published
Wed 23 Sep 2026, 17:51 LisbonUpdated Mon 26 Oct 2026, 02:26 Lisbon

In plain words

An attacker can run arbitrary operating-system commands as the web-server user through insufficiently sanitised Git branch and repository URL values in the Cloud module's Kubernetes integration. This requires the Kubernetes submodule to be enabled and configured, Git to be available on the server, and the attacker to have permission to add or edit cloud server templates. Exploiting the clone path also requires the "launch cloud server template" permission, or "launch approved cloud server template" when using the approved-template flow.

Am I affected?

Look for drupal/cloud and its version in composer.lock. The advisory lists 7.0.1 as fixed but gives no affected version range. Check whether the Kubernetes submodule is enabled and configured, whether Git is available on the server, and who can add or edit cloud server templates. For the clone path, also check who has launch cloud server template or, for the approved-template flow, launch approved cloud server template permission.

What to do

Check which version you have, then update to a fixed release for your branch (7.0.1):

composer show drupal/cloud | grep versions
composer update drupal/cloud

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

If you cannot update yet

The advisory identifies these mitigating requirements: the Kubernetes submodule must be enabled and configured, Git must be available on the server, and the attacker must have permission to add or edit cloud server templates. The clone path additionally requires "launch cloud server template", or "launch approved cloud server template" in the approved-template flow.

The advisory's description

The Cloud module enables users to manage cloud resources through Drupal.

The module does not sufficiently sanitize user-controlled Git branch and repository URL values before passing them to shell commands in the Kubernetes integration. This vulnerability allows an attacker to execute arbitrary operating-system commands as the web-server user.

This vulnerability is mitigated by the fact that the Kubernetes submodule must be enabled and configured, Git must be available on the server, and an attacker must have permission to add or edit cloud server templates. Exploiting the clone path additionally requires the "launch cloud server template" permission, or the "launch approved cloud server template" permission when using the approved-template flow.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description is OSV's record of the advisory. "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.