CVE-2026-54326 json
Pi: Potential XSS in HTML session exports via Markdown URL sanitization bypass
published 5mo ago modified 17d ago also EUVD-2026-38581 , GHSA-7v5m-pr3q-6453
- cvss
- 2.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi HTML exports render session Markdown into a static HTML file. It did not consistently reject unsafe Markdown link and image URL schemes. In versions with scheme filtering, C0 control characters in the URL scheme could bypass the check because browsers normalize those characters before navigation. This vulnerability is fixed in 0.78.1.
Patch / fix
- npm @earendil-works/pi-coding-agent 0.78.1
Is CVE-2026-54326 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 2.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @mariozechner/pi-coding-agent | >=0.27.5, <=0.73.1 |
no fix listed |
| npm | @earendil-works/pi-coding-agent | >=0.74.0, <0.78.1 |
0.78.1 |
Affected products
- earendil-works pi
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/earendil-works/pi/commit/6cb23f9b5d5b6d1747672f535b167d0d809ac010
web
-
github.com
/earendil-works/pi/security/advisories/GHSA-7v5m-pr3q-6453
web, advisory
-
github.com
/earendil-works/pi/releases/tag/v0.78.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-54326
advisory
-
github.com
/earendil-works/pi
package
Sources
- CVE List CVE-2026-54326
- GitHub Advisory GHSA-7v5m-pr3q-6453
- NVD CVE-2026-54326
- Maintainer advisory GHSA-7v5m-pr3q-6453
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of earendil-works/pi published their own advisory on GitHub. Reviewed sources take precedence over it.