{"id":"CVE-2026-145738","details":"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.","modified":"2026-12-06T08:00:09.961531936Z","published":"2026-12-06T06:45:13.944Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145738.json","cna_assigner":"mitre","cwe_ids":["CWE-379"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145738.json"},{"type":"PACKAGE","url":"https://github.com/cweagans/composer-patches"},{"type":"REPORT","url":"https://github.com/cweagans/composer-patches/issues/654"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145738"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cweagans/composer-patches","events":[{"introduced":"0"},{"last_affected":"bfa6018a5f864653d9ed899b902ea72f858a2cf7"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.0.0"}],"source":"AFFECTED_FIELD","strategy":"ZeroIntroducedSingleVersion"}]}}],"versions":["2.0.0","2.0.0-beta2","2.0.0-beta1","1.6.2","1.6.1","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.1.0","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145738.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:L/SA:L"}]}