GitHub Advisoryadvisory · npm

GHSA-hqjg-pww4-pcgq @google/clasp vulnerable to unsafe path traversal cloning or pulling a malicious script

HIGH Published 2026-03-13 Modified 2026-03-16 Official page ↗
Aliases
CVE-2026-4092
Ecosystem
npm
Packages
@google/clasp
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weaknesses
CWE-22
Reviewed
2026-03-13

Affected packages

• npm @google/clasp: < 3.2.0 → fixed in 3.2.0

Description

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

Related

Alias · CVE (1)

  • CVE-2026-4092 Path Traversal in Clasp impacting versions < 3.2.0 allows a remote attacker to perform remote code execution via a malicious Google Apps… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References