5.2
MEDIUM CVSS 4.0
CVE-2026-145738
Composer Patches Local Privilege Escalation
Description

The cweagans composer-patches (aka Composer Patches) plugin 2.0.0 for Composer allows local users to gain privileges by modifying patches stored in the /tmp/composer-patches or /tmp/patches directory.

INFO

Published Date :

Dec. 6, 2026, 6:45 a.m.

Last Modified :

Dec. 6, 2026, 6:46 a.m.

Remotely Exploit :

No

Source :

mitre
Affected Products

The following products are affected by CVE-2026-145738 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 MEDIUM 8254265b-2729-46b6-b9e3-3dfca2d5bfca
Solution
Restrict access to patch directories and update the Composer Patches plugin.
  • Secure /tmp/composer-patches and /tmp/patches directories.
  • Update Composer Patches plugin to a non-vulnerable version.
  • Remove temporary patch files after use.
  • Validate patch file integrity.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-145738 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.