01 Record
CVE-2026-145738
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.
MediumPUBLISHEDCNA: mitre
CNA base score5.2 CVSS v4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:L/SC:L/SI:L/SA:L
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- Exploit code listed
- —
- SSVC decision
- Not assessed by CISA
- EPSS probability
- Not scored by EPSS
- EPSS percentile
- Not scored by EPSS
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Not recorded
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-12-06 06:45Z2 HR AGO
- Last updated
- 2026-12-06 06:46Z2 HR AGO
- Reserved
- 2026-12-06
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.2)
- CNA CVSS vector
- 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
- Weaknesses
- CWE-379Creation of Temporary File in Directory with Insecure PermissionsBase
- Data version
- 5.2
- Document digest
- 22e26379dd9b6d40e7d1b21f7d07d470d12a837cde9e53e2ed2063dd5a537bd8
05 Affected products
VendorProductVersionsPlatforms
06 References
07 Remediation
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.