{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.79.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c10fb95fd993a1f6a92d5f770258fada1a20b55a"
            },
            {
              "fixed": "38f18be44727e669eb0a6e2eb8edb51b0232d83c"
            },
            {
              "fixed": "718215bd95b6fc6fa251580d27ea8aab857de390"
            },
            {
              "fixed": "89a92207f1c9303d53d822fd9b0ac21578834cb4"
            },
            {
              "fixed": "ce3a72444e1cc1eaa50475fb3378c7ffbb53ef49"
            },
            {
              "fixed": "ff3e9df5f5b32368c20b0ef553a6834b3dee9350"
            }
          ],
          "repo": "https://github.com/earendil-works/pi",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mqxh-6gq7-558m"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-829"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54325.json"
  },
  "details": "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.",
  "id": "CVE-2026-54325",
  "modified": "2026-08-12T03:51:35.682951614Z",
  "published": "2026-06-23T19:22:55.043Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/earendil-works/pi/releases/tag/v0.79.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54325.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/earendil-works/pi/security/advisories/GHSA-mqxh-6gq7-558m"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54325"
    },
    {
      "type": "FIX",
      "url": "https://github.com/earendil-works/pi/commit/38f18be44727e669eb0a6e2eb8edb51b0232d83c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/earendil-works/pi/commit/718215bd95b6fc6fa251580d27ea8aab857de390"
    },
    {
      "type": "FIX",
      "url": "https://github.com/earendil-works/pi/commit/89a92207f1c9303d53d822fd9b0ac21578834cb4"
    },
    {
      "type": "FIX",
      "url": "https://github.com/earendil-works/pi/commit/ce3a72444e1cc1eaa50475fb3378c7ffbb53ef49"
    },
    {
      "type": "FIX",
      "url": "https://github.com/earendil-works/pi/commit/ff3e9df5f5b32368c20b0ef553a6834b3dee9350"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pi loads project-local extensions without approval"
}