Changelog
Security Updates
- Fixed shell command escaping and PHP version input validation. (GHSA-pqwm-q9pv-ph8r / CVE-2026-46420)
Note
This can affect workflows that pass values from users or pull requests to setup-php, for example from comments, dispatch inputs, PR titles/branches, generated matrices, or files such as .php-version and composer.json.
Be especially careful with pull_request_target workflows that use any value from the pull request. Workflows that only use fixed trusted values are not expected to be affected, but updating to 2.37.1 is recommended.
- Fixed GitHub auth handling for Composer versions affected by GHSA-f9f8-rm49-7jv2. It should now skip configuring GitHub OAuth if affected Composer versions are installed and show a warning to upgrade. (GHSA-5wxr-w449-57cm / CVE-2026-45793)
Note
This only affects workflows where the composer version is pinned like composer:2.9.7, workflows that do not pin the version or use composer:v2 are not affected as those get automatic updates. In case you pin the version, it is highly recommended to upgrade and have automation to do such timely upgrades in your workflows.
Fixes and Improvements
-
Fixed support for
phalconon Windows. -
Fixed restoring tools when using cached using previous runs.
-
Improved enabling
gearmanextension on Linux. -
Fixed fallback when installing
PhpManagerandVcRedistmodules on Windows. -
Fixed parsing extension inputs with backslash line continuation.
-
Improved workflow examples
- Added workflow examples for Drupal 11 composer-managed projects and WordPress plugins.
- Added workflow examples for Yii3 web applications and replaced Yii2 Starter Kit examples.
- Updated workflow examples to use currently supported PHP versions.
-
Updated OS release mappings for newer Ubuntu releases.
-
Updated internal workflows for Codecov v6 and NPM trusted publishing.
-
Updated Node.js dependencies.
-
Fixed composer version in README. (#1081)
Thanks @Pyker for the contribution
For the complete list of changes, please refer to the Full Changelog