{
  "id": "CVE-2026-54328",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-54328",
  "published_at": "2026-06-23T19:25:04.051Z",
  "title": "Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts",
  "vendor": "earendil-works",
  "product": "pi",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
  },
  "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": "Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi versions with temporary npm or git extension package installs used predictable paths under the operating system temporary directory. On Linux-based multi-user systems, a local attacker who can write to the shared temporary directory could prepare the expected package location before another user runs pi with a temporary extension package source. Pi could then load attacker-controlled extension code in the victim user's process.  This vulnerability is fixed in 0.78.1.",
  "cwe": "CWE-379",
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "earendil-works",
        "product": "pi",
        "ranges": [
          "\u003e= 0.74.0, \u003c 0.78.1"
        ],
        "fixed_in": [
          "0.78.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pi to 0.78.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/earendil-works/pi/pull/5345"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/earendil-works/pi/releases/tag/v0.78.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
