CVE-2026-54328
published high CVSS 3.1 · 7.3Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| earendil-works | — | pi>= 0.74.0, < 0.78.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| earendil-works | pi | >= 0.74.0, < 0.78.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-379 CWE-379: Creation of Temporary File in Directory with Insecure Permissions
References
5- https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e
- https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44
- https://github.com/earendil-works/pi/pull/5345
- https://github.com/earendil-works/pi/releases/tag/v0.78.1
- https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94
Provider assertions
2GitHub_M · cna
Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b8fe88d6e1a0ed918870cdc1112e9ee2005b9cb07516963569c0e0f1a06ac41
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record