Skip to content

Resolved CVE-2026-27904, CVE-2026-33532, and CVE-2026-33672.#1432

Merged
AWSHurneyt merged 3 commits into
opensearch-project:3.5from
KashKondaka:fix/cve-2026-27904-3.5
May 11, 2026
Merged

Resolved CVE-2026-27904, CVE-2026-33532, and CVE-2026-33672.#1432
AWSHurneyt merged 3 commits into
opensearch-project:3.5from
KashKondaka:fix/cve-2026-27904-3.5

Conversation

@KashKondaka
Copy link
Copy Markdown
Collaborator

Summary

Resolves CVE-2026-27904 (HIGH severity) by bumping the minimatch yarn resolution to ^3.1.4 in package.json.

Details

Nested *() extglobs produce regexps with nested unbounded quantifiers (e.g. (?:(?:a|b)*)*), which exhibit catastrophic backtracking in V8. With a 12-byte pattern *(*(*(a|b))) and an 18-byte non-matching input, minimatch() stalls for over 7 seconds. Adding a single nesting level or a few input characters pushes this to minutes.

This is triggered by the default minimatch() API with no special options, and the minimum viable pattern is only 12 bytes. The same issue affects +() extglobs equally.

Impact

Nested *() extglobs produce regexps with nested unbounded quantifiers which exhibit catastrophic backtracking in V8. A 12-byte pattern with an 18-byte non-matching input stalls minimatch() for over 7 seconds. This is a HIGH severity ReDoS vulnerability affecting any context where an attacker can influence the glob pattern passed to minimatch().

Fix

  • Bumped minimatch resolution to ^3.1.4 in package.json
  • Version 3.1.4 addresses the catastrophic backtracking in nested extglob patterns

Test Plan

  • Verify minimatch resolves to >=3.1.4 after yarn install
  • Verify no regressions in build or tests

@AWSHurneyt AWSHurneyt changed the title Resolve CVE-2026-27904 by bumping minimatch to ^3.1.4 Resolved CVE-2026-27904, CVE-2026-33532, and CVE-2026-33672. May 6, 2026
Signed-off-by: Thomas Hurney <hurneyt@amazon.com>
@AWSHurneyt AWSHurneyt force-pushed the fix/cve-2026-27904-3.5 branch from cc4562a to 4ea1960 Compare May 6, 2026 23:55
AWSHurneyt added 2 commits May 6, 2026 17:10
Signed-off-by: Thomas Hurney <hurneyt@amazon.com>
Signed-off-by: Thomas Hurney <hurneyt@amazon.com>
@AWSHurneyt
Copy link
Copy Markdown
Collaborator

The cypress workflows are failing because the backend is failing to build
https://github.com/opensearch-project/security-analytics-dashboards-plugin/actions/runs/25468611559/job/74727315498?pr=1432#step:5:44

@AWSHurneyt AWSHurneyt merged commit 70e3115 into opensearch-project:3.5 May 11, 2026
6 of 8 checks passed
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.

3 participants