Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Solution
There is a pull request at https://github.com/cweagans/composer-patches/pull/680 that solves the remote ComposerDownloader problem, but not the cache problem.
Vendor Workaround
For now, overriding the system temporary directory used by php is an easy way to avoid both problems. This can be accomplished with something like php -d sys_temp_dir=/path/writable/only/by/me composer ...
Tracking
Sign in to view the affected projects.
No advisories yet.
| Link | Providers |
|---|---|
| https://github.com/cweagans/composer-patches/issues/654 |
|
Sun, 06 Dec 2026 07:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Weaknesses | CWE-379 | |
| References |
| |
| Metrics |
cvssV4_0
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-12-06T06:46:56.593Z
Reserved: 2026-12-06T06:45:13.537Z
Link: CVE-2026-145738
No data.
No data.
No data.
OpenCVE Enrichment
No data.