← VULNERABILITIES

DHI-ecd4-4ixx-7rqu-2ha2

wcmatch is a Python library for wildcard file-name matching. Prior to 11.2, under the default flags, matching a…

Unscored
CVSS
—
EPSS
—
Published
2026-11-21
Age
10d old
Modified
2026-11-28
Product
datahub-ingestion-locked

Description

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.

Sources

  • OSV · first seen 10d ago · CC-BY 4.0

References

JSON