earendil-works-pi-coding-agent
Ecosystem: npm
Downloads: 19.82 Mln
- 0CriticalAffects 0 versions
- 1HighAffects 1 version
- 0MediumAffects 0 versions
- 1ModerateAffects 1 version
- 2LowAffects 2 versions
- Critical0 (0.0%)
- High1 (25.0%)
- Medium0 (0.0%)
- Moderate1 (25.0%)
- Low2 (50.0%)
Monthly breakdown
- 4 vulnerabilities
- Critical: 0
- High: 1
- Medium: 0
- Moderate: 1
- Low: 2
Vulnerabilities (4)
Known vulnerabilities affecting earendil-works-pi-coding-agent, based on data from OSV.
| ID | Severity | Summary | Affected versions | Published | Source |
|---|---|---|---|---|---|
| GHSA-jfgx-wxx8-mp94 | High | Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts# Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts 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. ## Info The vulnerable code path affected temporary extensi |
| GitHub (opens in a new tab) | |
| GHSA-mqxh-6gq7-558m | Moderate | Pi Agent: Pi loads project-local extensions without approval# Pi loads project-local extensions without approval Pi before 0.79.0 loaded project-local configuration and resources from a repository's `.pi` directory without first asking the user to trust that repository. This included project-local extensions, which are executable TypeScript or JavaScript modules loaded into the Pi process. An attacker who controls a repository could place Pi-specific project resources in that repository. If a user then started Pi from that working tree, the project-local extension code could run with the same privileges as the local Pi process without the user having |
| GitHub (opens in a new tab) | |
| GHSA-r95r-rj6r-c39x | Low | Pi Agent: Race condition in Pi auth.json writes could expose stored credentials# Pi auth.json writes could briefly expose stored credentials to local users Pi stored API keys and OAuth credentials in `auth.json`. A race condition in the file write path could briefly create or rewrite this file with permissions derived from the process umask before tightening the file to owner-only permissions. ## Info The affected credential storage code wrote `auth.json` and then corrected the file mode in a separate operation. During the interval between those operations, a local user who could read and traverse the Pi agent configuration directory could potentially read the file be |
| GitHub (opens in a new tab) | |
| GHSA-7v5m-pr3q-6453 | Low | Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass# Potential XSS in HTML session exports via Markdown URL handling Pi HTML exports render session Markdown into a static HTML file. Affected versions did not consistently reject unsafe Markdown link and image URL schemes. In versions with scheme filtering, C0 control characters in the URL scheme could bypass the check because browsers normalize those characters before navigation. ## Impact The realistic attack path is indirect. An attacker would need to get suitable Markdown into a session, for example through prompt injection that causes the model to include an unsafe link, or through other |
| GitHub (opens in a new tab) |
- GHSA-jfgx-wxx8-mp94HighPi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts
>= 0.74.0, < 0.78.1
# Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts 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. ## Info The vulnerable code path affected temporary extensi
CVE: CVE-2026-54328
- GHSA-mqxh-6gq7-558mModeratePi Agent: Pi loads project-local extensions without approval
< 0.79.0
# Pi loads project-local extensions without approval Pi before 0.79.0 loaded project-local configuration and resources from a repository's `.pi` directory without first asking the user to trust that repository. This included project-local extensions, which are executable TypeScript or JavaScript modules loaded into the Pi process. An attacker who controls a repository could place Pi-specific project resources in that repository. If a user then started Pi from that working tree, the project-local extension code could run with the same privileges as the local Pi process without the user having
CVE: CVE-2026-54325
- GHSA-r95r-rj6r-c39xLowPi Agent: Race condition in Pi auth.json writes could expose stored credentials
>= 0.74.0, < 0.78.1
# Pi auth.json writes could briefly expose stored credentials to local users Pi stored API keys and OAuth credentials in `auth.json`. A race condition in the file write path could briefly create or rewrite this file with permissions derived from the process umask before tightening the file to owner-only permissions. ## Info The affected credential storage code wrote `auth.json` and then corrected the file mode in a separate operation. During the interval between those operations, a local user who could read and traverse the Pi agent configuration directory could potentially read the file be
CVE: CVE-2026-54327
- GHSA-7v5m-pr3q-6453LowPi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass
>= 0.74.0, < 0.78.1
# Potential XSS in HTML session exports via Markdown URL handling Pi HTML exports render session Markdown into a static HTML file. Affected versions did not consistently reject unsafe Markdown link and image URL schemes. In versions with scheme filtering, C0 control characters in the URL scheme could bypass the check because browsers normalize those characters before navigation. ## Impact The realistic attack path is indirect. An attacker would need to get suitable Markdown into a session, for example through prompt injection that causes the model to include an unsafe link, or through other
CVE: CVE-2026-54326