CVE Explorer
CVE-2026-54328
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pi","vendor":"earendil-works","versions":[{"status":"affected","version":">= 0.74.0, < 0.78.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-379","description":"CWE-379: Creation of Temporary File in Directory with Insecure Permissions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/references/2
{"name":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/references/3
{"name":"https://github.com/earendil-works/pi/pull/5345","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/pull/5345"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/references/1
{"name":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/references/4
{"name":"https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94","tags":["x_refsource_CONFIRM"],"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dc32988a7a287a3a554f578194ee35b8ee4e083e5b019ac648594cb48d54046e · sha256:8f04b29788c807fc… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.