CVE-2025-5890 actions toolkit glob internal-pattern.ts globEscape redos

Medium 5.3 Published Updated

Remote attackers can cause denial of service in the GitHub Actions toolkit glob library via inefficient regular expression complexity in globEscape.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5890?

CVE-2025-5890 is a medium-severity denial of service vulnerability in actions toolkit, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as problematic has been found in actions toolkit 0.5.0. This affects the function globEscape of the file toolkit/packages/glob/src/internal-pattern.ts of the component glob. The manipulation leads to inefficient regular expression complexity. It is possible to initiate the attack remotely.

Weakness: CWE-400, CWE-1333

Which versions are affected by CVE-2025-5890?

How do I fix CVE-2025-5890?

No fix has been published for CVE-2025-5890 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-5890 being exploited?

There is no known exploitation of CVE-2025-5890 in the wild and no public exploit code.

Sources

Also known as GHSA-2gwh-2hvc-7qgh.

Is CVE-2025-5890 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free