@google/clasp vulnerable to unsafe path traversal cloning or pulling a malicious script
Date: 2026-03
Affected: npm/@google/clasp
Attack vector: path-traversal
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-4092
CWE: CWE-22

### 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


Mitigations:

Architectural layers (MAESTRO):