Skip to content
High 7.3

Vulnerability in @earendil-works/pi-coding-agent

CVE-2026-54328 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

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.

What is the problem

A vulnerability (CWE-379) exists in @earendil-works/pi-coding-agent.

Affected scope

Check the vendor advisory for the affected versions of @earendil-works/pi-coding-agent.

Severity

Severity: High (CVSS 7.3/10). Successful exploitation can lead to full system takeover.

How to fix

Update to >= 0.78.1.

Workaround

Workaround: If upgrading immediately is not possible, avoid --extension or -e with npm or git package sources on shared Linux systems.

Detection

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

  1. 1
    Identify exposureidentify
    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 し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaroundmitigate
    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 --extension or -e with npm or git package sources on shared Linux systems. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patchpatch
    Upgrade @earendil-works/pi-coding-agent to >= 0.78.1

    ステージング環境で >= 0.78.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
npm@earendil-works/pi-coding-agent
≥ 0.74.0, < 0.78.1→ 0.78.1
npm@mariozechner/pi-coding-agent
0.50.0 – 0.73.1→ Not listed
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

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details