# Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts

Advisory record · `GHSA-jfgx-wxx8-mp94`

- **Identifiers:** `GHSA-jfgx-wxx8-mp94` · `CVE-2026-54328`
- **State:** Confirmed
- **Severity:** CVSS 7.3 High
- **Critical:** No
- **Weakness (CWE):** [CWE-379](https://cwe.mitre.org/data/definitions/379.html)
- **Tags:** [CWE-379](https://agentprime.io/advisories/tag/cwe-379.md)
- **Published:** 17 Jun 2026
- **Updated:** 20 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Jun 2026, 13:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `@earendil-works/pi-coding-agent` (npm): affected `>=0.74.0, <0.78.1`; fixed in `0.78.1`
- `@mariozechner/pi-coding-agent` (npm): affected `>=0.50.0, <=0.73.1`; no fixed version yet

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.3 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 17 Jun 2026. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-jfgx-wxx8-mp94](https://github.com/advisories/GHSA-jfgx-wxx8-mp94)
- [OSV: GHSA-jfgx-wxx8-mp94](https://osv.dev/vulnerability/GHSA-jfgx-wxx8-mp94)
- <https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54328>
- <https://github.com/earendil-works/pi/pull/5345>
- <https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e>
- <https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44>
- <https://github.com/earendil-works/pi>
- <https://github.com/earendil-works/pi/releases/tag/v0.78.1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-jfgx-wxx8-mp94>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jfgx-wxx8-mp94/>. Everything for agents: <https://agentprime.io/llms.txt>.
