CVE-2026-140006

Source
https://cve.org/CVERecord?id=CVE-2026-140006
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140006.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-140006
Aliases
  • GHSA-c859-jr93-m5j4
Published
2026-11-30T21:31:29Z
Modified
2026-11-30T23:00:10Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
minimatch: minimatch.escape() output matches more or less than the literal input
Details

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8, minimatch.escape() can produce patterns that do not exclusively match the supplied literal input: leading ! can become negation, leading # can become a comment, braceExpand() can collapse an escaped backslash and reactivate a following magic character when an expanded brace group is present and the installed brace-expansion release has the affected behavior (2.x or 5.0.4 through 5.0.12), and windowsPathsNoEscape combined with magicalBraces can leave braces active. Applications that escape attacker-controlled text and then use the result as an authorization, filtering, or path-selection pattern may match unintended strings or fail to match the intended literal. This issue is fixed in version 11.0.8.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-116"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140006.json"
}
References

Affected packages

Git / github.com/isaacs/minimatch

Affected ranges

Type
GIT
Repo
https://github.com/isaacs/minimatch
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "7.4.0"
                },
                {
                    "fixed":  "11.0.8"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "784603e09641970d2ba2caf8c73a95d1015cc67d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v10.*
v10.0.0
v10.0.1
v10.0.2
v10.0.3
v10.1.0
v10.1.1
v10.1.2
v10.1.3
v10.2.0
v10.2.1
v10.2.2
v10.2.3
v10.2.4
v10.2.5
v10.2.6
v11.*
v11.0.0
v11.0.1
v11.0.2
v11.0.3
v11.0.4
v11.0.5
v11.0.6
v11.0.7
v7.*
v7.4.0
v7.4.1
v7.4.2
v7.4.3
v7.4.4
v8.*
v8.0.0
v8.0.1
v8.0.2
v8.0.3
v8.0.4
v9.*
v9.0.0
v9.0.1
v9.0.2
v9.0.3
v9.0.4
v9.0.5

Database specific

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