NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-4092: @google/clasp vulnerable to unsafe path traversal cloning or pulling a malicious script

highCVSS 4.0 8.7GHSA-hqjg-pww4-pcgq

Impact Allows an attacker to perform a "Path Traversal" attack to modify files outside the projects directory, potentially allowing for running attacker code on the developer's machine. Patches Fixed in version 3.2.0 Workarounds Only clone or pull scripts from trusted sources Review the output of the pull and clone commands to verify only expected project files are modified

Published Mar 13, 2026 · Updated Mar 16, 2026

Affected packages

@google/clasp

Ecosystem
npm
Affected
< 3.2.0
Fixed in
3.2.0
Check
npm ls @google/clasp

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

Allows an attacker to perform a "Path Traversal" attack to modify files outside the projects directory, potentially allowing for running attacker code on the developer's machine.

Patches

Fixed in version 3.2.0

Workarounds

  • Only clone or pull scripts from trusted sources
  • Review the output of the pull and clone commands to verify only expected project files are modified

Credited to g0w6y.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology