Quick answers
- Is CVE-2026-54326 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-54326 being exploited in the wild.
- How severe is CVE-2026-54326?
- Low severity, with a CVSS score of 3.1, published 23 June 2026.
- Which products and versions are affected?
- Earendil-Works Pi-Coding-Agent >= 0.74.0, < 0.78.1; @earendil-works/pi-coding-agent (npm) >= 0.74.0, < 0.78.1, SEMVER:introduced=0.74.0,fixed=0.78.1; @mariozechner/pi-coding-agent (npm) >= 0.27.5, <= 0.73.1, SEMVER:introduced=0.27.5,last_affected=0.73.1.
- Is there a fix for CVE-2026-54326?
- Yes. @earendil-works/pi-coding-agent (npm): upgrade to 0.78.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-54326 attacked?
- It is attacked with local access, in a software library.
- Am I affected by CVE-2026-54326?
- Check whether you run Earendil-Works Pi-Coding-Agent, @earendil-works/pi-coding-agent (npm) or @mariozechner/pi-coding-agent (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- @earendil-works/pi-coding-agent (npm): upgrade to 0.78.1 or later
npm install @earendil-works/pi-coding-agent@0.78.1
Technical details
A stored Cross-Site Scripting (XSS) vulnerability exists in the HTML export functionality of the Pi coding harness. The root cause is improper neutralization of Markdown link and image URL schemes; specifically, C0 control characters could be used to bypass scheme filters because browsers normalize these characters before navigation. An exploit requires an attacker to inject malicious Markdown into a session (e.g., via prompt injection), followed by the user exporting the session to HTML and interacting with the malicious link. This results in script execution within the context of the static HTML document, potentially disclosing data embedded in that session file. The issue is fixed in version 0.78.1 by implementing an allow-list for schemes and stripping control characters.
Affected products
- earendil-works pi-coding-agent >= 0.74.0, < 0.78.1
- mariozechner pi-coding-agent >= 0.27.5, <= 0.73.1
Identifiers
- CVE-2026-54326
- GHSA-7v5m-pr3q-6453
Timeline
- 2026-05-29: disclosed: Report received through GitHub Security Advisories
- 2026-06-02: patched: Fix committed to repository
- 2026-06-04: other: Fixed version 0.78.1 released
- 2026-06-23: advisory: CVE published to NVD