Amenazas en vivo

Todas las CVE / Shivammathur

CVE-2026-46420Shivammathur Setup Php

Crítica 9.8 Sin autenticación

Prioridad
74
CVSS 3.1
9.8
EPSS
—
Requiere autenticación
No
Publicada
17 jul 2026
Actualizada
24 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-78
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Setup Php.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
GitHub Actions shivammathur/setup-php ≥ 2.25.0 < 2.37.1 2.37.1 —

Según OSV / GitHub Advisories (GHSA-pqwm-q9pv-ph8r). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
shivammathursetup_php≥ 2.25.0 < 2.37.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.