SB20261109216 - Creation of temporary file in directory with insecure permissions in PHPUnit



SB20261109216 - Creation of temporary file in directory with insecure permissions in PHPUnit

Published: November 9, 2026

Security Bulletin ID SB20261109216
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Creation of temporary file in directory with insecure permissions (CVE-ID: CVE-2026-119193)

CWE-ID: CWE-379 - Creation of Temporary File in Directory with Insecure Permissions

CVSSv4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a low-privileged local attacker to execute arbitrary code with the privileges of a developer running PHPUnit.

The vulnerability exists due to PHPUnit reusing a predictable directory in shared temporary storage without checking ownership or permissions when running PHPT tests with code coverage. A low-privileged local attacker can create this directory before the developer runs those tests and replace a generated test file before execution, causing PHPUnit to execute attacker-controlled code.


Remediation

Install update from vendor's website.