{
  "id": "CVE-2026-50014",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50014",
  "published_at": "2026-06-25T16:51:16.652Z",
  "title": "pnpm: Git Fetch Argument Injection via Lockfile resolution.commit",
  "vendor": "pnpm",
  "product": "pnpm",
  "cvss": {
    "score": 7.3,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm passes the lockfile-controlled git resolution.commit value to git fetch without a -- separator or commit-format validation. For git dependencies fetched through the shallow-fetch path, a malicious lockfile can replace the expected 40-character commit hash with a Git option such as --upload-pack=\u003ccommand\u003e. For SSH and local transports, --upload-pack can execute the supplied command. HTTPS transports ignore --upload-pack, so the practical attack surface is primarily SSH or local git dependencies. This vulnerability is fixed in 10.34.0 and 11.4.0.",
  "cwe": "CWE-88",
  "cpes": [
    "cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.4,
    "nvd": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pnpm",
        "product": "pnpm",
        "ranges": [
          "\u003c 10.33.4",
          "\u003e= 11.0.0, \u003c 11.4.0"
        ],
        "fixed_in": [
          "10.33.4",
          "11.4.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pnpm to 10.33.4 or 11.4.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pnpm/pnpm/security/advisories/GHSA-p4xf-rf54-rj3x"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
