Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker creates malicious Google Apps Script project
-
ExploitEmbeds directory traversal sequences in filenames
-
ExecutionUser deploys project via Clasp CLI
-
ImpactPath traversal executes arbitrary code
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Clasp versions < 3.2.0 with user interaction required: victim must deploy a malicious Google Apps Script project containing crafted filenames with directory traversal sequences through the Clasp command-line tool. |
| Impact | While the CVSS 4.0 score of 8.7 indicates high severity, the real-world risk is moderated by several factors. The attack vector is network-based (AV:N) with low complexity (AC:L), but crucially requires user interaction (UI:P) - specifically, a developer must be tricked into cloning or pulling a malicious Apps Script project. No privileges are required from the attacker (PR:N), and the impact is high across confidentiality, integrity, and availability (VC:H/VI:H/VA:H). Without EPSS data or KEV listing, and no confirmed proof-of-concept code publicly available, this appears to be a theoretical vulnerability with no evidence of active exploitation. The risk is primarily to developers actively using Clasp for Apps Script development who might clone untrusted projects. |
| Exploit ScenarioDerived | An attacker creates a malicious Google Apps Script project containing files with names like ../../../../.bashrc or ../../../startup/malicious.js and shares it publicly or targets specific developers through social engineering. When an unsuspecting developer uses Clasp to clone this project, the path traversal vulnerability causes malicious files to be written outside the project directory, potentially overwriting system files or placing backdoors in startup locations. Upon the next system restart or shell initialization, the attacker's code executes with the developer's privileges, leading to full system compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 13, 2026
Remote code execution in Clasp versions below 3.2.0 allows unauthenticated attackers to execute arbitrary code by uploading Google Apps Script projects with specially crafted filenames that exploit path traversal weaknesses. Public exploit code exists for this vulnerability, and no patch is currently available. The attack requires minimal user interaction and affects Google's Clasp tooling across all configurations.
Earlier versions of this analysis (1)
A path traversal vulnerability in Clasp (Google's command-line tool for developing Apps Script projects locally) allows remote attackers to achieve remote code execution by tricking users into cloning malicious Google Apps Script projects containing specially crafted filenames with directory traversal sequences. The vulnerability affects all Clasp versions prior to 3.2.0 and requires user interaction to exploit. With a high CVSS score of 8.7 and moderate exploitation complexity, this presents a significant risk to developers using Clasp for Apps Script development.
RemediationAI
Upgrade Clasp to version 3.2.0 or later immediately by running npm update @google/clasp or npm install @google/clasp@latest. Until patching is complete, developers should avoid cloning or pulling Apps Script projects from untrusted sources and carefully review any project structures before importing them. Additionally, implement security controls such as running development tools in isolated environments or containers to limit the potential impact of exploitation. Organizations should audit their development environments to identify all Clasp installations and ensure they are updated to the patched version.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Clasp is an open-source command-line tool developed by Google that enables local development of Google Apps Script projects. The vulnerability stems from improper input validation (CWE-22: Path Traversal) when processing filenames within Apps Script projects during cloning or pulling operations. When Clasp processes project files, it fails to properly sanitize filenames containing directory traversal sequences (such as ../ or ..\ patterns), allowing malicious actors to write files outside the intended project directory. This can lead to overwriting critical system files or placing malicious code in startup locations, ultimately resulting in remote code execution on the developer's machine.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-4092 is a high-severity remote code execution vulnerability in Clasp versions prior to 3.2.0 that allows attackers to execute arbitrary code by uploading malicious Google Apps Script projects. Organizations using Clasp for Google Workspace automation or development are at immediate risk, particularly those processing sensitive data or automating critical business workflows.
Disable Clasp installations in non-production environments immediately; restrict Clasp execution to isolated network segments with minimal data access; implement Web Application Firewall (WAF) rules to block suspicious Google Apps Script project uploads containing path traversal sequences (../ patterns); require approval workflows for all new Google Apps Script deployments; monitor and log all Clasp and Google Apps Script API calls; consider temporary suspension of automated Clasp-based workflows until patch availability confirmed.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-12047
GHSA-hqjg-pww4-pcgq
NVD
CVE.org
EPSS
VulDB
Exploit-DB