Security mailing lists by PureSourceCode

CVE-2026-54327

LOW 2.2CVSS 3.1

Pi Agent: Race condition in Pi auth.json writes could expose stored credentials

Pi is a minimal terminal coding harness. From 0.74.0 until 0.78.1, Pi stored API keys and OAuth credentials in auth.json. A race condition in the file write path could briefly create or rewrite this file with permissions derived from the process umask before tightening the file to owner-only permissions. This vulnerability is fixed in 0.78.1.

Published
23 Jun 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-367CWE-732
Also known as
GHSA-r95r-rj6r-c39x
Sources
NVDJSONOSV GHSA-r95r-rj6r-c39xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 2.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @mariozechner/pi-coding-agent >= 0.28.0, <= 0.73.1
OSV npm @earendil-works/pi-coding-agent >= 0.74.0, < 0.78.1 0.78.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.