CVE-2026-4092 Arbitrary File Write via Path Traversal in Google clasp leading to RCE
A remote attacker can achieve remote code execution by exploiting a path traversal vulnerability in Google Clasp via malicious filenames in Apps Script projects.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-4092?
CVE-2026-4092 is a high-severity path traversal vulnerability in Google Clasp, published on 13 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Path Traversal in Clasp impacting versions < 3.2.0 allows a remote attacker to perform remote code execution via a malicious Google Apps Script project containing specially crafted filenames with directory traversal sequences.
Weakness: CWE-22
Which versions are affected by CVE-2026-4092?
2 open source packages ship an affected version, including @google/clasp. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@google/clasp npm | All versions | 3.2.0 |
@google/clasp npm | All versions | 3.2.0 |
Products include Google Clasp.
How do I fix CVE-2026-4092?
Upgrade @google/clasp to 3.2.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-4092 being exploited?
There is no known exploitation of CVE-2026-4092 in the wild and no public exploit code.
Sources
Also known as GHSA-hqjg-pww4-pcgq.