SecurityFan score 21 · Tier C
CVE-2026-145738: composer-patches vulnerable tmpdir handling
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
- CVE-2026-145738
- #security
- #php
- #composer
- #vulnerability
- #temporary-files
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…