fix(deps): override brace-expansion for CVE-2026-69152 #3500
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 281 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3500"
general
weight: 0.35
keithjgrant
Summary
Denial of Service via unbounded intermediate arrays in
brace-expansion.The
expand()function did not applymaxLengthwhile constructing comma-alternative intermediate arrays or padded sequences, allowing attacker-controlled input to exhaust memory or block the event loop. .Fixed versions: 1.1.18 (1.x branch), 5.0.9 (5.x branch)
Changes
| Scope | Before | After |
|---|---|---|
|
minimatch@<9.0.0→ brace-expansion (1.x chain) | 1.1.16 | 1.1.18 ||
nx→ brace-expansion (direct dep) | 5.0.6 | 5.0.9 || Top-level brace-expansion (5.x) | 5.0.7 | 5.0.9 |
Strategy:
minimatch@<9.0.0scoped override from 1.1.16 → 1.1.18 to fix all packages in the minimatch@<9 → brace-expansion@1.x chainminimatch@>=9.0.0scoped brace-expansion override with a top-levelbrace-expansion@>=5.0.0 <5.0.9range override (covers future installs)nxscoped override → 5.0.9 to fix nx's directbrace-expansion: 5.0.6dependency (which was not reachable via minimatch scoping)After fix:
npm auditreports 0 brace-expansion vulnerabilities.Test plan
npm auditshows 0 brace-expansion vulnerabilitiesType of Change
Risk Analysis - REQUIRED
<!-- SELECT ONE. This is required — the PR check will fail if none is selected. -->
🤖 Generated with Claude Code