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
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | MEDIUM | 8254265b-2729-46b6-b9e3-3dfca2d5bfca |
Solution
- 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.