Skip to content

Security: ReDoS vulnerability in picomatch (CVE-2026-33671) via chokidar dependency #173

@GiladShoham

Description

@GiladShoham

Description

@rspack/dev-server is affected by CVE-2026-33671 — a Regular Expression Denial of Service (ReDoS) vulnerability in picomatch (CVSS 7.5 HIGH).

Certain extglob patterns (+(), *()) with overlapping alternatives or nested extglobs can trigger excessive backtracking, causing CPU exhaustion and blocking the Node.js event loop.

CVE details: https://nvd.nist.gov/vuln/detail/CVE-2026-33671

Dependency chain

picomatch@2.3.2
└── anymatch@3.1.3
    └── chokidar@3.6.0
        └── @rspack/dev-server@1.2.1

Suggested fix

Update chokidar to v4+, which no longer depends on picomatch/anymatch at all, eliminating this vulnerability entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions