Skip to content

fix(deps): pin shell-quote to ^1.8.4 (CVE-2026-9277)#319

Open
msingleton wants to merge 1 commit into
mainfrom
security/CVE-2026-9277
Open

fix(deps): pin shell-quote to ^1.8.4 (CVE-2026-9277)#319
msingleton wants to merge 1 commit into
mainfrom
security/CVE-2026-9277

Conversation

@msingleton

@msingleton msingleton commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

Pins shell-quote to ^1.8.4 via the resolutions block to resolve CVE-2026-9277 (CRITICAL, CVSS 8.1) — GitHub Dependabot alert #287.

Vulnerability

shell-quote ≤ 1.8.3 does not escape line terminators in the .op field of object tokens passed to quote(). A literal newline passes through unescaped and POSIX shells treat it as a command separator → shell command injection in callers that build object tokens from untrusted input.

Exposure assessment

Transitive dev/build-only dependency, pulled in by:

  • launch-editor@2.13.1 (Metro dev server's editor opener)
  • react-devtools-core@6.1.5

Neither is bundled into the published SDK (lib/), and neither is fed attacker-controlled input. Not exploitable in our usage — but pinned anyway, consistent with the existing fast-xml-parser/fast-uri/babel-systemjs resolutions precedent. Patch bump (1.8.3 -> 1.8.4) satisfies both consumers' ranges (^1.6.1, ^1.8.3).

Resolves GitHub Dependabot alert #287 / Vanta CRITICAL (CVSS 8.1).

shell-quote <= 1.8.3 fails to escape line terminators in object-token
.op fields passed to quote(), allowing shell command injection in
callers that build object tokens from untrusted input. Reaches via
launch-editor (Metro dev server) and react-devtools-core — both dev/
build-only tooling, never bundled into the published SDK and never fed
attacker input, so not exploitable in our usage. Pinned anyway per the
established resolutions pattern; patch bump satisfies both consumers'
ranges (^1.6.1, ^1.8.3).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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