CVE-2026-102277: juliangruber brace-expansion Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-102277 is a medium (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in juliangruber brace-expansion. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 2Timeline
- 28-09-2026PublishedVulnerability first disclosed.
- 29-09-2026Last modifiedVulnerability information updated.
Description
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-407Inefficient Algorithmic ComplexityAn algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
Affected systems
Chainguard111 products
- actions-runner< 2.337.0-r2
- airflow-2All versions (No fix recorded)
- airflow-core-2All versions (No fix recorded)
- arangodb-3.12< 3.12.12.1-r3
- authentik-2025.12< 2025.12.6-r16
Wolfi15 products
- jupyter-base-notebook< 7.6.3-r2
- lerna< 10.0.1-r6
- nextcloud-server-33< 33.0.9-r1
- npm-12< 12.2.0-r1
- opensearch-dashboards-3< 3.8.0-r9
Debian1 product
- node-brace-expansionAll versions (No fix recorded) | < 2.1.7+~1.1.2-1
Juliangruber1 product
- brace-expansion≥ 4.0.0, < 5.0.12 | ≥ 3.0.0, < 3.0.9 | ≥ 2.0.0, < 2.1.7 | < 1.1.21
Npm1 product
- brace-expansion≥ 4.0.0, < 5.0.12 | ≥ 3.0.0, < 3.0.9 | ≥ 2.0.0, < 2.1.7 | < 1.1.21
Ubuntu1 product
- node-brace-expansionAll versions (No fix recorded)
6 vendors · 130 products
References
11 links- github.com/juliangruber/brace-expansion/security/advisories/GHSA-q2hr-2g5m-vwhrX Refsource CONFIRMREPORTAdvisoryWEB
- github.com/juliangruber/brace-expansion/commit/33a5ef17b8d800bbfa8c52b14c39043b6aac1a96X Refsource MISCREPORTFIXWEB
- github.com/juliangruber/brace-expansion/commit/bdff773f98e5988616b7039cc9b508df5d640b22X Refsource MISCREPORTFIXWEB
- github.com/juliangruber/brace-expansion/commit/c55e67d8d8b1c56a2474afff15c2891166b2d364X Refsource MISCREPORTFIXWEB
- github.com/juliangruber/brace-expansion/commit/ffdfa3e3806bed17c0874b8f1439b084de354a7eX Refsource MISCREPORTFIXWEB