Urianpaul94

#16881of 55,077
16.4Total CVSS
Vulnerabilities · 4
Low
2
Medium
1
High
1
PT-2026-50494
7.3
2026-06-17
Npm · @Mariozechner/Pi-Coding-Agent · CVE-2026-54328
**Name of the Vulnerable Software and Affected Versions** @earendil-works/pi-coding-agent versions 0.74.0 through 0.78.0 @mariozechner/pi-coding-agent versions 0.50.0 through 0.73.1 **Description** Pi is a minimal terminal coding harness that used predictable paths under the operating system temporary directory for temporary npm or git extension package installs. On Linux-based multi-user systems with shared temporary directories, a local attacker could pre-create the expected package location. When a victim runs Pi with a temporary extension package source using the `--extension` or `-e` flags, the software may load attacker-controlled extension code in the victim user's process. This occurs because the temporary npm install root and git clone paths were deterministic and rooted under `os.tmpdir()/pi-extensions`. Since extensions execute with the same privileges as the invoking process, this can lead to arbitrary code execution, data loss, or denial of service. This issue primarily affects shared environments like CI runners, HPC login nodes, and shared development machines. **Recommendations** Update @earendil-works/pi-coding-agent to version 0.78.1 or later. Migrate @mariozechner/pi-coding-agent to @earendil-works/pi-coding-agent version 0.78.1 or later. As a temporary workaround, avoid using the `--extension` or `-e` flags with npm or git package sources on shared Linux systems. As an additional mitigation, configure the process temporary directory environment to point to a directory owned by the invoking user with `0700` permissions before starting the application.