Amenazas en vivo

Todas las CVE / sebastianbergmann

CVE-2026-119193sebastianbergmann phpunit

Media 5.4

Prioridad
32
CVSS 4.0
5.4
EPSS
—
Requiere autenticación
Sí
Publicada
29 oct 2026
Actualizada
30 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-379
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

PHPUnit is a testing framework for PHP. From 13.4.0 until 13.4.4, the TestCase::coverageFilesDirectory() logic in src/Runner/Phpt/TestCase.php creates temporary files for PHPT code coverage in a predictable phpunit-phpt directory under sys_get_temp_dir() and reuses that directory without verifying its ownership or permissions. On multi-user systems with a shared temporary path, a local attacker who creates the directory before the developer runs PHPT tests with code coverage can replace the generated job file before the child process executes it with require, allowing arbitrary code execution with the developer's privileges while the test and coverage report appear successful. PHPUnit 12.5 and earlier, default macOS and Windows configurations with per-user temporary directories, and single-user environments where another user cannot create files in the temporary path are not affected. This issue is fixed in 13.4.4.

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 phpunit.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Packagist phpunit/phpunit ≥ 13.4.0 < 13.4.4 13.4.4 composer require "phpunit/phpunit:^13.4.4"

Según OSV / GitHub Advisories (GHSA-9vw2-f4vp-x7gf). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

En redes

1 persona y 1 post en Bluesky en los últimos 30 días.

Los posts más recientes, sin bots ni feeds automáticos. El texto es de sus autores. Buscar en Bluesky

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.