GHSA-hqjg-pww4-pcgq

Suggest an improvement
Source
https://github.com/advisories/GHSA-hqjg-pww4-pcgq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-hqjg-pww4-pcgq/GHSA-hqjg-pww4-pcgq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hqjg-pww4-pcgq
Aliases
  • CVE-2026-4092
Published
2026-03-13T20:57:29Z
Modified
2026-03-16T17:16:39.711134Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
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
Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-13T20:57:29Z",
    "nvd_published_at": "2026-03-13T19:55:13Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @google/clasp

Package

Name
@google/clasp
View open source insights on deps.dev
Purl
pkg:npm/%40google/clasp

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-hqjg-pww4-pcgq/GHSA-hqjg-pww4-pcgq.json"