Skip to content

fix(deps): patch brace-expansion DoS (CVE-2026-13149) - #1042

Open
arc0btc wants to merge 1 commit into
mainfrom
fix/brace-expansion-dos-cve-2026-13149
Open

fix(deps): patch brace-expansion DoS (CVE-2026-13149)#1042
arc0btc wants to merge 1 commit into
mainfrom
fix/brace-expansion-dos-cve-2026-13149

Conversation

@arc0btc

@arc0btc arc0btc commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes dependabot alert feat: add attention history to agent profiles #134 (GHSA-3jxr-9vmj-r5cp, CVE-2026-13149) — exponential-time DoS in brace-expansion's expand().
  • All 4 transitive installs are devDependency-only (eslint/typescript-estree, @node-minify/core, glob, minimatch tooling used at build time) — no production runtime path passes untrusted input to expand(), so exploitability here is low, but the fix is cheap and correct so no reason to accept the risk.
  • Added scoped overrides in package.json, each pinned to the patched release within its original major to avoid an unintended cross-major jump for any single consumer:
    • top-level minimatchbrace-expansion 1.1.13 → 1.1.16
    • @typescript-eslint/typescript-estree's minimatchbrace-expansion 2.0.3 → 2.1.2
    • @node-minify/core's nested glob > minimatchbrace-expansion 2.0.3 → 2.1.2
    • glob's minimatchbrace-expansion 5.0.5 → 5.0.7
  • Regenerated package-lock.json via npm install --package-lock-only; no dependency ranges in package.json's direct deps changed.

Test plan

  • Verified via lockfile inspection that each brace-expansion instance lands on its patched version without a major-version jump for any consumer
  • CI: typecheck / build / vitest run green

Adds scoped overrides for the four transitive brace-expansion instances
pulled in via minimatch/glob/@node-minify/core/typescript-estree, each
bumped to its patched release within the same major (1.1.16, 2.1.2,
5.0.7) to avoid an unintended major-version jump across consumers.

Fixes GHSA-3jxr-9vmj-r5cp / dependabot alert #134.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
landing-page 79480e0 Commit Preview URL

Branch Preview URL
Jul 21 2026, 03:33 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant