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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-379"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54328.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.74.0"
},
{
"fixed": "0.78.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ea3465a8e371a12d0167a06b60f93878e3a3df44"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.78.1",
"range": [
{
"fixed": "592c34c05643d115d6eed08a6f615999651cfaa3"
}
],
"source": "REFERENCES_TAG"
}
]
}