Approved changes feed: RSS · Atom

cpe:2.3:a:shivammathur:setup-php:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorShivammathur (a93b5c3b-d0db-5010-90ca-e021d41e4518)
ProductSetup Php (63e87928-e135-531e-9193-7c6b3d519992)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-46420 vulnerable 2026-07-29 00:54:58.915156 setup-php: Command Injection in Repository-Derived PHP Version Resolution
MEDIUM (5.6)
setup-php is a GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and tools. From 2.25.0 prior to 2.37.1, shivammathur/setup-php resolves the PHP version from repository-controlled files such as .php-version, composer.lock through platform-overrides.php, and composer.json through config.platform.php, and insufficiently constrains those values before incorporating them into generated shell or PowerShell setup scripts, allowing command injection on a GitHub Actions runner when workflows such as pull_request_target check out attacker-controlled contents before invoking setup-php. This issue is fixed in version 2.37.1.
Published: 2026-07-17T19:51:10.253Z
Updated: 2026-07-20T18:15:56.324Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.