New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

Patch on npm shell-quote 1.8.1 fixing 1 CVE

Verification

Checks and measurements Socket ran on this patch, comparing the package before and after the patch is applied.

Exploits

Before patch

1/1 reproduced

After patch

1/1 blocked

Tests

Before patch

22/22 passed

After patch

22/22 passed

Patch size

Lines changed

+43−1in 1 file

Vulnerabilities Fixed

Severity
Advisory
Summary
Critical
GHSA-w7jw-789q-3m8p

shell-quote quote() does not escape newlines in object .op values

CVE: CVE-2026-9277

Instructions

Apply this patch with the Socket patch CLI.

  • Install the CLI: curl -fsSL https://install.socket.dev/patch | sh
  • Run socket-patch get GHSA-w7jw-789q-3m8p in your repository to download and apply the patch