Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @earendil-works/pi-coding-agent
  4. ›
  5. CVE-2026-54328

CVE-2026-54328: Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts

June 17, 2026

A local attacker with access to the same host can exploit this only if a victim runs a vulnerable pi version with a temporary npm or git extension package source that maps to the attacker-prepared location. No network attack path is involved and no race must be won, but victim interaction is required.

Successful exploitation can allow arbitrary extension code execution as the victim user. This can expose or modify files accessible to that user and can also cause denial of service or data loss through malicious package contents or unsafe temporary cache entries.

References

  • github.com/advisories/GHSA-jfgx-wxx8-mp94
  • github.com/earendil-works/pi/commit/a98e087e5d08ea2a536bf73dbb0aebb87c3ef72e
  • github.com/earendil-works/pi/commit/ea3465a8e371a12d0167a06b60f93878e3a3df44
  • github.com/earendil-works/pi/pull/5345
  • github.com/earendil-works/pi/releases/tag/v0.78.1
  • github.com/earendil-works/pi/security/advisories/GHSA-jfgx-wxx8-mp94
  • nvd.nist.gov/vuln/detail/CVE-2026-54328

Code Behaviors & Features

Detect and mitigate CVE-2026-54328 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.74.0 before 0.78.1

Fixed versions

  • 0.78.1

Solution

Upgrade to version 0.78.1 or above.

Impact 7.3 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-379: Creation of Temporary File in Directory with Insecure Permissions

Source file

npm/@earendil-works/pi-coding-agent/CVE-2026-54328.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:31 +0000.