Live threats

All CVEs / Juliangruber

CVE-2026-45149Juliangruber Brace-expansion

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
May 29, 2026
Updated
Jul 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6.

Original NVD text.

What to do

  1. Apply the vendor's security update for Brace-expansion.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm brace-expansion ≥ 5.0.0 < 5.0.6 5.0.6 npm install brace-expansion@5.0.6

Per OSV / GitHub Advisories (GHSA-jxxr-4gwj-5jf2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
juliangruberbrace-expansion≥ 5.0.0 < 5.0.6

Official advisories

Also: Red Hat (+7)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.