{"id":"CVE-2026-108599","revision":"fb9df7f7e7374bada348663f4e66afc0","records":[{"revision":"fb9df7f7e7374bada348663f4e66afc0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108599","aliases":[],"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.","state":0,"publishedAt":"2026-10-10T18:58:15.61+00:00","modifiedAt":"2026-10-14T16:02:53.639+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"phi","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pulseaiclub\",\n                    \"product\": \"phi\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0.1.1\",\n                            \"lessThanOrEqual\": \"0.28.4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:golang/github.com/pulseaiclub/phi\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"repo\": \"https://github.com/pulseaiclub/phi\"\n                }"}],"metrics":[{"system":"CVSS 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","score":5.7,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","score":4.7,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108599","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108599","identifiers":["CVE-2026-108599"]},"retained":false,"historicalAffected":[]}],"coverage":[]}