CVE-2026-132276

Source
https://cve.org/CVERecord?id=CVE-2026-132276
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-132276.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-132276
Aliases
  • GHSA-53pm-wgxf-c6qf
Published
2026-11-20T17:06:42Z
Modified
2026-11-20T18:00:10Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
wcmatch: Polynomial-time ReDoS when matching untrusted names against multi-star patterns (default flags)
Details

wcmatch is a Python library for wildcard file-name matching. Prior to 11.2, under the default flags, matching a non-matching attacker-controlled name against an application-supplied pattern containing several star wildcards separated by literals makes the lazy .? and [^/]? segments, including _STAR and _PATH_STAR emitted by _handle_star() in wcmatch/_wcparse.py, backtrack across possible splits, so a single comparison can consume prolonged CPU time. The pattern remains a developer-controlled constant and only the name is attacker-controlled; affected paths include fnmatch.fnmatch(), glob.globmatch(), and filesystem glob scans where another user can create names, without enabling extglob or any non-default flag. This issue is fixed in 11.2.

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

Affected packages

Git / github.com/facelessuser/wcmatch

Affected ranges

Type
GIT
Repo
https://github.com/facelessuser/wcmatch
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "11.2"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "83491aadde57780330f993620083e979f645c80c"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "11.2",
            "range": [
                {
                    "fixed": "e5305eb42463a857c57e6f8184b2e22e07a09291"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
10.*
10.0
10.1
10.2
10.2.1
11.*
11.0
11.0.1
11.1
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.2.0
2.2.1
3.*
3.0.0
3.0.1
3.0.2
4.*
4.0.0
4.0.1
4.1.0
4.2.0
4.3.0
4.3.1
5.*
5.0.0
5.0.1
5.0.2
5.0.3
5.1.0
6.*
6.0.0
6.0.1
6.0.2
6.0.3
6.1
7.*
7.0
7.0.1
7.1
7.2
8.*
8.0
8.0.1
8.1
8.1.1
8.1.2
8.2
8.3
8.4
8.4.1
8.5
8.5.1
8.5.2
9.*
9.0

Database specific

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