fix: upgrade brace-expansion to 5.0.8, 3.0.3, 2.1.3, 1.1.17 (CVE-2026-14257) - #121589
fix: upgrade brace-expansion to 5.0.8, 3.0.3, 2.1.3, 1.1.17 (CVE-2026-14257)#121589anupamme wants to merge 1 commit into
Conversation
Automated dependency upgrade by OrbisAI Security
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 8554c2d. Configure here.
| "diff@>=4.0.0 <4.0.4": "4.0.4", | ||
| "diff@>=5.0.0 <5.2.2": "5.2.2" | ||
| "diff@>=5.0.0 <5.2.2": "5.2.2", | ||
| "brace-expansion": "2.1.3" |
There was a problem hiding this comment.
Incompatible brace-expansion override
High Severity
The global brace-expansion override pins every consumer to 2.1.3, including minimatch@10.2.5, which depends on brace-expansion 5.x and imports the named expand export. Version 2.1.3 is CommonJS-only with a callable default export, so loading fails with a missing named export error. That breaks tooling such as ESLint and typescript-eslint that rely on minimatch@10. The PR title lists patched majors 5.0.8 / 2.1.3 / 1.1.17, but the override collapses them all to one incompatible line.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 8554c2d. Configure here.
|
thanks but this is more of dev dependency |


Summary
Upgrade brace-expansion from 2.1.1 to 5.0.8, 3.0.3, 2.1.3, 1.1.17 to fix CVE-2026-14257.
Vulnerability
CVE-2026-14257pnpm-lock.yaml(dependency:brace-expansion)Description: brace-expansion: Brace-expansion: Denial of Service via memory exhaustion in expand() function
Evidence
Scanner confirmation: trivy rule
CVE-2026-14257flagged this pattern.Changes
package.jsonpnpm-lock.yamlBehavior Preservation
The change is scoped to 2 files on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security