CVE Catalog

CVE-2026-145738

MediumCVSS 5.2
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

A local user can modify patches and gain higher privileges, potentially leading to privilege escalation on the system.

Recommendation

Update the Composer Patches plugin to a version later than 2.0.0 that fixes this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS