{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.1.1"
              },
              {
                "last_affected": "0.28.4"
              },
              {
                "fixed": "0.28.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "b13f82bbfdaf3fe90c113ae4726223f2cde93e8d"
            },
            {
              "fixed": "5b3cb440a7c58115ef64283a737a43299f2805a4"
            }
          ],
          "repo": "https://github.com/pulseaiclub/phi",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108599.json"
  },
  "details": "phi 0.1.1 through 0.28.4 contains an improper link resolution vulnerability that allows malicious repositories to bypass workspace_only_writes by exploiting lexical-only path checks in the permission gate. Attackers can commit symlinks pointing outside the workspace and use prompt injection to make the write tool write attacker-influenced content to external files without approval.",
  "id": "CVE-2026-108599",
  "modified": "2026-10-16T02:30:54.107674008Z",
  "published": "2026-10-10T18:58:15.610Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://pkg.go.dev"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108599.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://hackmd.io/@haind/phi-symlink-permission-boundary"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-108599"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/phi-0.1.1-through-0.28.4-symlink-workspace-write-restriction-bypass"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/pulseaiclub/phi"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/permission/gate.go#L106-L119"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/writetool/write.go#L64-L68"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Phi 0.1.1 through 0.28.4 Symlink Workspace Write Restriction Bypass"
}