Skip to content

fix: upgrade brace-expansion to 5.0.8, 3.0.3, 2.1.3, 1.1.17 (CVE-2026-14257) - #958

Open
anupamme wants to merge 2 commits into
loopbackio:masterfrom
anupamme:fix-repo-loopback-connector-cve-2026-14257-brace-expansion
Open

fix: upgrade brace-expansion to 5.0.8, 3.0.3, 2.1.3, 1.1.17 (CVE-2026-14257)#958
anupamme wants to merge 2 commits into
loopbackio:masterfrom
anupamme:fix-repo-loopback-connector-cve-2026-14257-brace-expansion

Conversation

@anupamme

@anupamme anupamme commented Aug 3, 2026

Copy link
Copy Markdown

Summary

Upgrade brace-expansion from 1.1.16 to 5.0.8, 3.0.3, 2.1.3, 1.1.17 to fix CVE-2026-14257.

Vulnerability

Field Value
ID CVE-2026-14257
Severity HIGH
Scanner trivy
Rule CVE-2026-14257
File package-lock.json (dependency: brace-expansion)
Assessment Present in dependency tree, not confirmed reachable

Description: brace-expansion through 5.0.7 is vulnerable to denial of service via m ...

Evidence

Scanner confirmation: trivy rule CVE-2026-14257 flagged this pattern.

Changes

  • package.json
  • package-lock.json

Behavior 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

@anupamme
anupamme requested a review from dhmlau as a code owner August 3, 2026 01:31

@achrinza achrinza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @anupamme

I've added my review comment.

Comment thread package.json Outdated
@anupamme
anupamme force-pushed the fix-repo-loopback-connector-cve-2026-14257-brace-expansion branch from a33e5ba to dafbad8 Compare August 4, 2026 01:22
@anupamme

anupamme commented Aug 4, 2026

Copy link
Copy Markdown
Author

Thanks for the contribution @anupamme

I've added my review comment.

addressed. pls review.

anupamme and others added 2 commits August 4, 2026 06:54
Automated dependency upgrade by OrbisAI Security

Signed-off-by: anupamme <mediratta@gmail.com>
Signed-off-by: Anupam Mediratta <mediratta@gmail.com>
npm overrides are only honored in the root package and have no effect
when loopback-connector is used as a library dependency. Remove the
override and regenerate the lockfile so each minimatch version resolves
to the correct patched brace-expansion release for its semver range
(1.1.17, 2.1.4, 5.0.9), addressing CVE-2026-14257 in the dev tree
without polluting the published package.json.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Anupam Mediratta <mediratta@gmail.com>
@anupamme
anupamme force-pushed the fix-repo-loopback-connector-cve-2026-14257-brace-expansion branch from dafbad8 to 8060e92 Compare August 4, 2026 01:25
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.

2 participants