Picomatch versions up to 4.0.7 are affected by a regular expression denial of service (ReDoS) vulnerability. This flaw arises from single-branch repeated extglob patterns that cause exponential backtracking, allowing attackers to block the Node.js event loop and cause denial of service.