{"id":"CVE-2026-4092","aliases":["EUVD-2026-12047","GHSA-hqjg-pww4-pcgq"],"status":"published","title":"Arbitrary File Write via Path Traversal in Google clasp leading to RCE","description":"Path Traversal in Clasp impacting versions \u003c 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.","severity":{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00521,"percentile":0.44683,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-03-13T15:44:55Z","modified":"2026-10-28T02:30:44Z","fixes":[{"ecosystem":"npm","package":"@google/clasp","fixed_in":["3.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@google/clasp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@google/clasp","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.0"}]}]}],"products":[{"vendor":"google","product":"clasp"}],"references":[{"url":"https://github.com/google/clasp/pull/1109","tags":["Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/google/clasp/security/advisories/GHSA-hqjg-pww4-pcgq","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4092","tags":["advisory"]},{"url":"https://github.com/google/clasp/commit/ba6bd666fe74de54950122b5d92ecf1dcc02a9d3","tags":["web"]},{"url":"https://github.com/google/clasp/releases/tag/v3.2.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-hqjg-pww4-pcgq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4092.json","tags":["advisory"]},{"url":"https://github.com/google/clasp","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-4092","title":"Arbitrary File Write via Path Traversal in Google clasp leading to RCE","description":"Path Traversal in Clasp impacting versions \u003c 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.","status":"published","published":"2026-03-13T15:44:55.099Z","modified":"2026-03-16T18:34:49.535Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:19:58.944663Z"}],"euvd":[{"id":"EUVD-2026-12047","description":"Path Traversal in Clasp impacting versions \u003c 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.","status":"published","published":"2026-03-13T15:44:55Z","modified":"2026-03-16T18:34:49Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"updated_at":"2026-11-02T19:25:34.078511Z"}],"ghsa":[{"id":"GHSA-hqjg-pww4-pcgq","title":"@google/clasp vulnerable to unsafe path traversal cloning or pulling a malicious script","description":"### Impact\nAllows 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.\n\n### Patches\nFixed in version 3.2.0\n\n### Workarounds\n* Only clone or pull scripts from trusted sources\n* Review the output of the `pull` and `clone` commands to verify only expected project files are modified","status":"published","published":"2026-03-13T20:57:29Z","modified":"2026-03-16T17:08:24Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:39:36.642723Z"}],"nvd":[{"id":"CVE-2026-4092","description":"Path Traversal in Clasp impacting versions \u003c 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.","status":"published","published":"2026-03-13T19:55:13.493Z","modified":"2026-06-17T10:55:58.8Z","cvss":[{"version":"4.0","score":8.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:09.358914Z"}],"osv":[{"id":"CVE-2026-4092","title":"Arbitrary File Write via Path Traversal in Google clasp leading to RCE","description":"Path Traversal in Clasp impacting versions \u003c 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.","status":"published","published":"2026-03-13T15:44:55.099Z","modified":"2026-10-28T02:30:44.808724947Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:45:03.424067Z"},{"id":"GHSA-hqjg-pww4-pcgq","title":"@google/clasp vulnerable to unsafe path traversal cloning or pulling a malicious script","description":"### Impact\nAllows 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.\n\n### Patches\nFixed in version 3.2.0\n\n### Workarounds\n* Only clone or pull scripts from trusted sources\n* Review the output of the `pull` and `clone` commands to verify only expected project files are modified","status":"published","published":"2026-03-13T20:57:29Z","modified":"2026-03-16T17:16:39.711134Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:49.28217Z"}]}}
