Vulnerability DatabaseGHSA-h7pf-67p2-535f

GHSA-h7pf-67p2-535f: 
JavaScript vulnerability analysis and mitigation

The pre-tool hook hooks/universal/pre-tool/graph-command-classifier.mjs decides whether a shell command is consequential (deploy, publish, release) and needs approval. Its executable() prefix stripper only understands assignments, env, command and npx. A command whose program word is a transparent wrapper such as nohup, or a shell reserved word that starts a compound-command body (do, then, else, if, while, {, !), is classified as "allow", while bash still runs the wrapped deploy. Harmless check: classify for i in 1; do vercel deploy; done in deploy mode and observe decision allow. Impact: an agent (for example a prompt-injected one) can run a deploy or publish without the approval gate. Fix: strip reserved words and known transparent wrappers before classification, and fail closed on wrappers whose options are not parsed. A seeded differential property test against bash with PATH stubs guards the fix. The fix also covers command words hidden by ANSI-C or locale quoting and command words that come from an expansion. It also covers per-command git configuration aliases, package-runner launchers such as npm exec and npm x, and case-variant program and ref spellings on case-insensitive filesystems. In sealed mode, any program not known to only read that writes under a .git path is refused. In guarded modes the classifier now blocks anything it cannot resolve, so some harmless commands are refused too.


Source: NVD

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-q56w-52fg-7qp7MEDIUM6.5
  • JavaScript logoJavaScript
  • @nkootstra/block-kit
NoYesNov 07, 2026
GHSA-3pg2-h62q-24j6MEDIUM6.5
  • JavaScript logoJavaScript
  • @k2b/ui
NoYesNov 07, 2026
GHSA-rm9j-37wp-mwc3MEDIUMN/A
  • JavaScript logoJavaScript
  • @miltonadina/devops
NoYesNov 07, 2026
GHSA-gwj8-fp64-q94qLOWN/A
  • JavaScript logoJavaScript
  • n8n-mcp
NoYesNov 07, 2026
GHSA-68rj-xv59-f2chLOWN/A
  • JavaScript logoJavaScript
  • n8n-mcp
NoYesNov 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management