Advisory

GHSA-hqjg-pww4-pcgq

Also known as: CVE-2026-4092

Summary

@google/clasp vulnerable to unsafe path traversal cloning or pulling a malicious script

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-13 20:57 UTC
Modified
2026-03-16 17:16 UTC

Affected packages and fixes

@google/clasp

npm · All systems

Affected

  • introduced 0, fixed 3.2.0 (semver)

Fixed versions

3.2.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences