CVE-2026-145738

Source
https://cve.org/CVERecord?id=CVE-2026-145738
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145738.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-145738
Published
2026-12-06T06:45:13Z
Modified
2026-12-06T08:00:09Z
Severity
  • 5.2 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
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.

Database specific
{
    "cna_assigner":  "mitre",
    "cwe_ids":  [
        "CWE-379"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145738.json"
}
References

Affected packages

Git / github.com/cweagans/composer-patches

Affected ranges

Type
GIT
Repo
https://github.com/cweagans/composer-patches
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.0.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "ZeroIntroducedSingleVersion"
        }
    ]
}

Affected versions

1.*
1.0.0
1.1.0
1.2.0
1.3.0
1.4.0
1.5.0
1.6.0
1.6.1
1.6.2
2.*
2.0.0
2.0.0-beta1
2.0.0-beta2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145738.json"