Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-145738 — cweagans Composer Patches

Medium · CVSS 5.2 First seen December 06, 2026
VulnerabilitiesPHPWeb

Research article

Composer Patches Plugin Allows Local Privilege Escalation

CVECVE-2026-145738
Vendor and productcweagans Composer Patches
PublishedDecember 06, 2026 22:40 UTC
Research cut-offDecember 06, 2026 22:25 UTC
Sources reviewed3: NVD record (last modified 2026-12-06); CISA KEV catalog; vendor advisory page (seclists.org)

Executive summary

The cweagans Composer Patches plugin 2.0.0 enables local users to elevate privileges by altering stored patches in temporary directories [1]. The CVSS 4.0 score is 5.2 MEDIUM, with a vector that reflects low access, low privilege, and high integrity impact [1]. The reviewed sources do not confirm any exploitation [2]. The sources do not list a fixed version for this CVE, so no update target is reported [1].

Key points

  • The cweagans Composer Patches plugin 2.0.0 enables local users to elevate their privileges through changes made to patches in temporary directories [1].
  • The CVSS 4.0 score is 5.2 MEDIUM, with a vector indicating low access, low privilege, and high integrity impact [1].
  • CVE-2026-145738 is not listed in the CISA Known Exploited Vulnerabilities Catalog [2].
  • The reviewed sources do not report exploitation [2].
  • The sources do not list a fixed version for this CVE.

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0PublishedLast ModifiedRecord Status
CVE-2026-145738cweagansComposer PatchesCWE-3795.2 MEDIUM, scored by cve@mitre.org (Secondary)2026-12-06T09:18:372026-12-06T09:18:37Received

Vulnerability description

A local user can exploit this flaw to gain elevated privileges by changing the contents of files stored in designated temporary directories. This allows unauthorized modifications to these files, potentially leading to unintended behavior or privilege escalation [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates that local access is required, with low privileges needed [1]. The vector marks user interaction as passive (UI:P) [1].

Impact analysis

The CVSS vector highlights a high impact on integrity, with low impact on confidentiality and availability [1]. The description suggests that the flaw may allow privilege escalation, though the exact consequences are not clearly defined [1].

Affected products and versions

Affected ProductAffected VersionFixed Version
cweagans Composer Patches2.0.0not listed

Exploitation and threat intelligence status

CVE-2026-145738 is not included in the CISA Known Exploited Vulnerabilities Catalog as of December 6, 2026. The reviewed sources do not report any confirmed exploitation [2].

Detection and exposure assessment

To determine if a system is exposed, verify if the installed version of cweagans Composer Patches is 2.0.0 [1]. No specific detection steps are provided by the sources.

Remediation

The sources do not list a fixed version for this CVE. No mitigation steps are provided by the sources.

Remediation checklist

  1. Check if the installed version of cweagans Composer Patches is 2.0.0 [1].
  2. Monitor system logs for unusual activity.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not explain the root cause beyond the CWE name.
  • The sources do not describe how the flaw works.
  • The sources do not describe any exploitation scenarios or attack lifecycle.
  • The sources do not mention indicators of compromise.
  • The sources do not provide a workaround or compensating control.

References

  1. CVE-2026-145738 record. NIST National Vulnerability Database (NVD), 2026-12-06. https://nvd.nist.gov/vuln/detail/CVE-2026-145738. Accessed 2026-12-06. CVE ID, vendor, product, CWE, CVSS scores, published and last-modified dates, record status, description, impact metrics, affected versions
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-06. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-06. Exploitation status
  3. Vendor bulletin page (seclists.org). seclists.org. https://seclists.org/oss-sec/2026/q4/1021. Accessed 2026-12-06. No specific information about the CVE

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.2 CVSS 4.0 base score from the CNA (mitre.org)

An attacker with a normal user account can exploit this with local access if a user views or visits something.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, a normal user account
User action needed
yes, a user must view or visit something
Impact
high on integrity, low on confidentiality and availability
Impact on other systems
low on confidentiality, integrity and availability

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

  • CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Affected and fixed versions

ProductAffected versionsFixed in
cweagans Composer Patches2.0.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • cweagans Composer Patches

Frequently asked questions

What is CVE-2026-145738?

The cweagans Composer Patches plugin 2.0.0 enables local users to elevate privileges by altering stored patches in temporary directories. The CVSS 4.0 score is 5.2 MEDIUM, with a vector that reflects low access, low privilege, and high integrity impact. The reviewed sources do not confirm any exploitation. The sources do not list a fixed version for this CVE, so no update target is reported. Weakness type: Creation of Temporary File in Directory with Insecure Permissions (CWE-379).

How severe is CVE-2026-145738?

CVE-2026-145738 has a CVSS 4.0 base score of 5.2 (medium), from the CNA (mitre.org). An attacker with a normal user account can exploit this with local access if a user views or visits something.

Is CVE-2026-145738 being exploited?

Not as far as is known: CVE-2026-145738 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.

Which versions are affected by CVE-2026-145738?

cweagans Composer Patches 2.0.0.

How do I fix CVE-2026-145738?

Check if the installed version of cweagans Composer Patches is 2.0.0. Monitor system logs for unusual activity.

Timeline & sources

References

Related vulnerabilities & news