{"api_version":"1","generated_at":"2026-06-24T03:37:33+00:00","cve":"CVE-2026-54328","urls":{"html":"https://cve.report/CVE-2026-54328","api":"https://cve.report/api/cve/CVE-2026-54328.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54328","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54328"},"summary":{"title":"Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-06-23 20:16:49","updated_at":"2026-06-23 20:16:49"},"problem_types":["CWE-379","CWE-379 CWE-379: Creation of Temporary File in Directory with Insecure Permissions"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","data":{"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"}}],"references":[{"url":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44","name":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","name":"https://github.com/earendil-works/pi/releases/tag/v0.78.1","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e","name":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94","name":"https://github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/earendil-works/pi/pull/5345","name":"https://github.com/earendil-works/pi/pull/5345","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-54328","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54328","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"earendil-works","product":"pi","version":"affected >= 0.74.0, < 0.78.1","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"pi","vendor":"earendil-works","versions":[{"status":"affected","version":">= 0.74.0, < 0.78.1"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-379","description":"CWE-379: Creation of Temporary File in Directory with Insecure Permissions","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-23T19:25:04.051Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"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"},{"name":"https://github.com/earendil-works/pi/pull/5345","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/pull/5345"},{"name":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e"},{"name":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44","tags":["x_refsource_MISC"],"url":"https://github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44"},{"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"}],"source":{"advisory":"GHSA-jfgx-wxx8-mp94","discovery":"UNKNOWN"},"title":"Pi: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-54328","datePublished":"2026-06-23T19:25:04.051Z","dateReserved":"2026-06-12T18:42:02.224Z","dateUpdated":"2026-06-23T19:25:04.051Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-23 20:16:49","lastModifiedDate":"2026-06-23 20:16:49","problem_types":["CWE-379","CWE-379 CWE-379: Creation of Temporary File in Directory with Insecure Permissions"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.3,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"54328","Ordinal":"1","Title":"Pi: Predictable temporary extension install paths allow local pr","CVE":"CVE-2026-54328","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"54328","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Pi: Predictable temporary extension install paths allow local pr"}]}}}