Skip to content

fix(deps): bump brace-expansion to patched version in validation/ - #400

Open
hdamker wants to merge 1 commit into
camaraproject:mainfrom
hdamker:fix/deps-brace-expansion
Open

fix(deps): bump brace-expansion to patched version in validation/#400
hdamker wants to merge 1 commit into
camaraproject:mainfrom
hdamker:fix/deps-brace-expansion

Conversation

@hdamker

@hdamker hdamker commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

bug

What this PR does / why we need it:

Closes Dependabot alert #28 by bumping brace-expansion to a patched version in validation/.

Alert Package CVE Severity
#28 brace-expansion CVE-2026-14257 (DoS via unbounded expansion length causing an OOM crash) High

brace-expansion is transitive, under glob's nested minimatch. The parent range (globminimatch@10.xbrace-expansion: ^5.0.5) already permits the patched version, so this is a lockfile-only refresh — no override or direct-dependency change needed.

Which issue(s) this PR fixes:

(no separate issue — Dependabot alerts auto-close on merge)

Special notes for reviewers:

Verification:

  • npm ci --ignore-scripts (the CI install command) succeeds against the refreshed lockfile
  • 1218/1218 validation/ unit tests pass, including the Spectral/Redocly-engine tests that exercise glob/minimatch directly

A separate, older brace-expansion@1.1.16 copy also exists in the lockfile (under minimatch@3.1.5, pulled in by @stoplight/spectral-core). It is not in scope for this alert — no patched 1.x release exists upstream, and npm audit independently reports no fix available for it.

Changelog input

 release-note
 NONE

Additional documentation

This section can be blank.

docs
NONE

@hdamker
hdamker requested review from Kevsy and rartych as code owners July 28, 2026 13:56
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