International
The Morning Dev

Only the news worth knowing

‹
 

SecurityFan score 21 · Tier C

CVE-2026-145738: composer-patches vulnerable tmpdir handling

oss-security ·

The Brief

  • CVE-2026-145738 affects the composer-patches plugin for PHP Composer.
  • Predictable subdirectories of the system temporary directory (e.g. /tmp) are used unsafely, including as a temporary download location for remote patches.

Why it matters

Projects using Composer with the patches plugin may be exposed to attacks through predictable temporary directory paths. The sources in this excerpt do not describe the full impact.

Who’s affected

  • Anyone using PHP Composer with the composer-patches plugin

Posted by Michael Orlitzky on Dec 06 Anyone using PHP's composer with the patches plugin[0] should check on this one. Predictable subdirectories of the system temporary directory (e.g. /tmp) are being used unsafely in two ways: 1. As a temporary download location for remote…

Timeline

  1. Vulnerability disclosed on the oss-security mailing list

  2. Open Source Security

    CVE-2026-145738: composer-patches vulnerable tmpdir handling

How do you feel about this?

0 Comments

    CVE-2026-145738: composer-patches vulnerable tmpdir handling – The Morning Dev