{"id":"CVE-2026-108599","state":"PUBLISHED","title":"Phi 0.1.1 through 0.28.4 Symlink Workspace Write Restriction Bypass","description":"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.","publishedAt":"2026-10-10T18:58:15.610Z","updatedAt":"2026-10-14T16:02:53.639Z","severity":{"score":5.7,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["pulseaiclub phi"],"affected":[{"vendor":"pulseaiclub","product":"phi","packageURL":"pkg:golang/github.com/pulseaiclub/phi","defaultStatus":"unaffected","versions":[{"version":"0.1.1","status":"affected","lessThanOrEqual":"0.28.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","repo":"https://github.com/pulseaiclub/phi"}],"references":["https://hackmd.io/@haind/phi-symlink-permission-boundary","https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/permission/gate.go#L106-L119","https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/writetool/write.go#L64-L68","https://github.com/pulseaiclub/phi","https://www.vulncheck.com/advisories/phi-0.1.1-through-0.28.4-symlink-workspace-write-restriction-bypass"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/108xxx/CVE-2026-108599.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-108599","state":"PUBLISHED","datePublished":"2026-10-10T18:58:15.610Z","dateUpdated":"2026-10-14T16:02:53.639Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-10T18:25:14.879Z"},"containers":{"cna":{"title":"Phi 0.1.1 through 0.28.4 Symlink Workspace Write Restriction Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pulseaiclub","product":"phi","packageURL":"pkg:golang/github.com/pulseaiclub/phi","defaultStatus":"unaffected","versions":[{"version":"0.1.1","status":"affected","lessThanOrEqual":"0.28.4","versionType":"semver"}],"collectionURL":"https://pkg.go.dev","repo":"https://github.com/pulseaiclub/phi"}],"references":[{"url":"https://hackmd.io/@haind/phi-symlink-permission-boundary","tags":["third-party-advisory"]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/permission/gate.go#L106-L119","tags":["technical-description"]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/writetool/write.go#L64-L68","tags":["technical-description"]},{"url":"https://github.com/pulseaiclub/phi","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/phi-0.1.1-through-0.28.4-symlink-workspace-write-restriction-bypass","name":"VulnCheck Advisory: Phi 0.1.1 through 0.28.4 Symlink Workspace Write Restriction Bypass","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-10T18:58:15.610Z"},"datePublic":"2026-10-09T00:00:00.000Z","credits":[{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T14:50:10.495315Z","id":"CVE-2026-108599","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-14T16:02:53.639Z"}}]}}}