Vulnerability in @earendil-works/pi-coding-agent (CVE-2026-54328)
Summary
Vulnerability in @earendil-works/pi-coding-agent (CVE-2026-54328). Successful exploitation can lead to full system takeover. Mitigation: upgrade to >= 0.78.1 or later.
Original description
The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-54328 has been found in @earendil-works/pi-coding-agent.
Successful exploitation can lead to full system takeover. CVSS score: 7.3/10.
What to do: upgrade @earendil-works/pi-coding-agent to >= 0.78.1 or later.
If unsure, ask your IT team or search "@earendil-works/pi-coding-agent CVE-2026-54328" on the vendor's site.
CVE-2026-54328 (@earendil-works/pi-coding-agent) — CWE-379 / CVSS v3 7.3
Attack vector: local
Patched: >= 0.78.1 — apply immediately
Workaround: If upgrading immediately is not possible, avoid --extension or -e with npm or git package sources on shared Linux systems.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-379) exists in @earendil-works/pi-coding-agent.
Check the vendor advisory for the affected versions of @earendil-works/pi-coding-agent.
Severity: High (CVSS 7.3/10). Successful exploitation can lead to full system takeover.
Update to >= 0.78.1.
Workaround: If upgrading immediately is not possible, avoid --extension or -e with npm or git package sources on shared Linux systems.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r '@earendil-works/pi-coding-agent' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r '@earendil-works/pi-coding-agent' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
@earendil-works/pi-coding-agentを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
If upgrading immediately is not possible, avoid `--extension` or `-e` with npm or git package sources on shared Linux systems.パッチが適用されるまでの応急処置として、If upgrading immediately is not possible, avoid
--extensionor-ewith npm or git package sources on shared Linux systems. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade @earendil-works/pi-coding-agent to >= 0.78.1ステージング環境で >= 0.78.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com