Vulnerability DatabaseGHSA-rm9j-37wp-mwc3

GHSA-rm9j-37wp-mwc3: 
JavaScript vulnerability analysis and mitigation

Two code paths open files under the project without refusing a symlink, so a repository that commits a symlink (force-added past .gitignore where needed) makes DevOPs write to, or change the mode of, a file outside the project that the user can write.

  1. Installer and analyzer (devops init): analyzer/install.ts (around lines 287-414) and analyzer/scan.ts (around 421) copy hooks, write AGENTS.md, profile.yml and other files, and chmod 0755, following symlinks; realpath is checked once (around 264). Reproduced in a scratch project: a symlinked hook target outside the project was overwritten and its mode went 644 to 755, a dangling AGENTS.md link created a file outside, and a .workflow symlink redirected profile.yml; init exited 0.
  2. Graph record writers: scripts/graph-blocked.sh (temp write and events.jsonl append) and scripts/graph-preflight.mjs (report write) append JSON lines, including operator-supplied --task text, through a symlink at .workflow/state/.... The revert records and graph-run-record.mjs already refuse a redirect. Impact: integrity of any user-writable file, including making a planted file executable; with a .git/hooks target this can reach code execution on the next git operation (not probed). Fix: resolve each destination and refuse it unless its real path stays inside the project root; open with O_NOFOLLOW/exclusive create where the file is new; never chmod through a link. Regression tests with planted symlinks for every write site.

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