{"id":"CVE-2026-108599","summary":"Phi 0.1.1 through 0.28.4 Symlink Workspace Write Restriction Bypass","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.","modified":"2026-10-16T02:30:54.107674008Z","published":"2026-10-10T18:58:15.610Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108599.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-59"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pulseaiclub/phi","events":[{"introduced":"b13f82bbfdaf3fe90c113ae4726223f2cde93e8d"},{"fixed":"5b3cb440a7c58115ef64283a737a43299f2805a4"}],"database_specific":{"extracted_events":[{"introduced":"0.1.1"},{"last_affected":"0.28.4"},{"fixed":"0.28.4"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v0.28.3","ext/ts/v0.1.0","v0.28.2","v0.28.1","v0.28.0","ext/go/v0.25.2","v0.27.6","v0.27.5","v0.27.4","v0.27.3","ext/rust/v0.6.1","v0.27.2","ext/go/v0.25.1","v0.27.1","v0.27.0","ext/rust/v0.6.0","ext/rust/v0.5.0","ext/go/v0.25.0","v0.25.1","v0.25.0","v0.24.0","ext/rust/v0.4.0","ext/go/v0.24.0","v0.23.0","ext/go/v0.23.0","v0.22.0","ext/rust/v0.3.0","v0.21.1","ext/go/v0.21.1","ext/go/v0.21.0","ext/rust/v0.2.0","v0.21.0","ext/v0.21.0","v0.20.0","ext/v0.20.0","v0.19.2","ext/v0.19.2","v0.19.1","ext/v0.19.1","v0.19.0","v0.18.1","v0.18.0","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.9.0","v0.8.0","v0.6.0","v0.7.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108599.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}