{"answers":{"affected":"2 open source packages ship an affected version, including @earendil-works/pi-coding-agent.","exploited":"There is no known exploitation of CVE-2026-54325 in the wild and no public exploit code.","fix":"Upgrade @earendil-works/pi-coding-agent to 0.79.0 or later.","what":"CVE-2026-54325 is a medium-severity code injection vulnerability in earendil-works pi, published on 23 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54325 and fix it if it is affected.\n\nWhat it is: CVE-2026-54325 is a medium-severity code injection vulnerability in earendil-works pi, published on 23 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-54325 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @earendil-works/pi-coding-agent (npm): affected all versions; fixed in 0.79.0\n- @earendil-works/pi-coding-agent (npm): affected all versions; fixed in 0.79.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54325/ (Markdown: https://insights.sbomify.com/CVE-2026-54325/index.md)","id":"CVE-2026-54325","markdown":"https://insights.sbomify.com/CVE-2026-54325/index.md","name":"CVE-2026-54325","record":{"aliases":["GHSA-mqxh-6gq7-558m","MINI-qqx2-vrr2-38pg"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Terminal coding harness","requires_auth":"none","summary":"Attackers can execute arbitrary code by placing malicious extensions in a repository, which Pi loads automatically without user approval.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"description":"Pi is a minimal terminal coding harness. 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 a convenient way to make a trust decision. This vulnerability is fixed in 0.79.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pi loads project-local extensions without approval","id":"CVE-2026-54325","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":7,"next":{"headline":"Pi: Potential XSS in HTML session exports via Markdown URL sanitization bypass","id":"CVE-2026-54326"},"packages":[{"ecosystem":"npm","fixed":["0.79.0"],"introduced":["0"],"last_affected":[],"package":"@earendil-works/pi-coding-agent","purl":null,"source":"GHSA-mqxh-6gq7-558m"},{"ecosystem":"npm","fixed":["0.79.0"],"introduced":["0"],"last_affected":[],"package":"@earendil-works/pi-coding-agent","purl":"pkg:npm/%40earendil-works/pi-coding-agent","source":"GHSA-mqxh-6gq7-558m"}],"prev":{"headline":"Daytona: Cross-tenant data leak in notification WebSocket gateway via unverified organizationId join","id":"CVE-2026-54324"},"products":["pi"],"published":"2026-06-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["earendil-works"]},"summary":"Attackers can execute arbitrary code by placing malicious extensions in a repository, which Pi loads automatically without user approval.","url":"https://insights.sbomify.com/CVE-2026-54325/"}