Intel

AIKIDO-2026-10144

@google/clasp is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 9, 2026

62

Medium Risk

This Affects:

JS@google/clasp
3.0.0 - 3.1.3
Fixed in 3.2.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package allow a path traversal vulnerability in the fetchRemote method, where unvalidated remote filenames could escape the intended project directory and write arbitrary files on the local filesystem. An attacker controlling a remote Apps Script project could craft filenames containing traversal sequences (e.g., ../../) so that, during a clasp pull or clasp clone, malicious files are written outside the project boundary, potentially overwriting sensitive files or planting executable code, leading to local arbitrary file write and a viable Remote Code Execution (RCE) vector.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@google/clasp is vulnerable to Path Traversal in versions 3.0.0 - 3.1.3.

How to fix this

Upgrade the @google/clasp library to the patch version.