Skip to main content
VulnerabilityPublished

CVE-2026-145738: cweagans Composer Patches · Creation of Temporary File in Directory with Insecure Permissions

Affects cweagans Composer PatchesSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.2 Medium.

Data as of 6 Dec 2026, 06:56 UTC

CVSS 4.0 base score
5.2Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 4.05.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
cweagansComposer PatchesAffected
  • =2.0.0
Fixed in–
GitHubComposer Patchespkg:github/Composer PatchesOther threatsAffected
  • =2.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, restrict local user access to the /tmp/composer-patches and /tmp/patches directories or monitor and control file permissions to prevent unauthorized modifications.

Description

CVE-2026-145738 is a vulnerability in the cweagans Composer Patches plugin version 2.0.0. It involves the creation of temporary files in directories with insecure permissions (/tmp/composer-patches or /tmp/patches). This flaw allows local users with limited privileges to modify patch files, potentially escalating their privileges.

References

Community reviews

Loading reviews…