p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in phpunit/phpunit

In den letzten 30 Tagen veröffentlichte Sicherheitslücke für phpunit/phpunit: 1. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 5

  1. CVE-2026-119193

    Mittel · CVSS 5.4EPSS 0,11%Öffentlicher ExploitKorrektur verfügbar

    PHPUnit vulnerable to code execution by other local users via shared temporary directory in PHPT code coverage handling

    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

    • Auf 13.4.4 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2026-41570

    Hoch · CVSS 7.8EPSS 0,19%Korrektur verfügbar

    PHPUnit: Argument injection via newline in PHP INI values forwarded to child processes

    PHPUnit is a testing framework for PHP. In versions 12.5.21 and 13.1.5, PHPUnit forwards PHP INI settings to child processes (used for isolated/PHPT test execution) as -d name=value command-line arguments without neutralizing INI metacharacters. Because PHP's INI parser interprets " as a string delimiter, ; as the start of a comment, and most importantly a newline as a directive separator, a value containing a newline is parsed by the child process as multiple INI directives. An attacker able to influence a single INI value can therefore inject arbitrary additional directives into the child's configuration, including auto_prepend_file, extens

    • Auf 12.5.22 aktualisieren
    • Auf 13.1.6 aktualisieren
    Veröffentlicht Aktualisiert
  3. GHSA-mh6w-vxff-9wqp

    Hoch · CVSS 7.8Korrektur verfügbar

    PHPUnit: Argument injection via newline in PHP INI values forwarded to child processes

    # Impact PHPUnit forwards PHP INI settings to child processes (used for isolated/PHPT test execution) as `-d name=value` command-line arguments without neutralizing INI metacharacters. Because PHP's INI parser interprets `"` as a string delimiter, `;` as the start of a comment, and most importantly a newline as a directive separator, a value containing a newline is parsed by the child process as **multiple INI directives**. An attacker able to influence a single INI value can therefore inject arbitrary additional directives into the child's configuration, including `auto_prepend_file`, `extension`, `disable_functions`, `open_basedir`, and o

    • Auf 12.5.22 aktualisieren
    • Auf 13.1.6 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2026-24765

    Hoch · CVSS 7.8EPSS 0,38%Korrektur verfügbar

    PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling

    PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the `cleanupForCoverage()` method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious `.coverage` files are present prior to the execution of the PHPT test. The vulnerability occurs when a `.coverage` file, which should not exist before test execution, is deserialized without the `allowed_classes` parameter restriction. An attacker wit

    • Auf 10.5.62 aktualisieren
    • Auf 11.5.50 aktualisieren
    • Auf 12.5.8 aktualisieren
    • Auf 8.5.52 aktualisieren
    • Auf 9.6.33 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2017-9841

    Kritisch · CVSS 9.8EPSS 100%Im KEV-KatalogÖffentlicher ExploitKorrektur verfügbar

    CVE-2017-9841

    Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.

    • Auf 4.8.28 aktualisieren
    • Auf 5.6.3 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →