{"id":"CVE-2026-108595","aliases":["CVE-2026-108595"],"related":[],"kind":"vulnerability","state":"published","title":"Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdir","summary":"Phi 0.3.0 through 0.28.4 contains a permission bypass vulnerability that allows spawned sub-agents to escape workspace_only_writes and readonly mode by supplying an unchecked workdir to agent_spawn. Attackers can plant prompt-injected instructions in processed content so the agent spawns a worker rooted elsewhere, causing unapproved file writes anywhere the user can write.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Phi 0.3.0 through 0.28.4 contains a permission bypass vulnerability that allows spawned sub-agents to escape workspace_only_writes and readonly mode by supplying an unchecked workdir to agent_spawn. Attackers can plant prompt-injected instructions in processed content so the agent spawns a worker rooted elsewhere, causing unapproved file writes anywhere the user can write.","source":"cvelist"}],"published":"2026-10-10T18:16:58.378Z","modified":"2026-10-16T19:21:14.417Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":6,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0.3.0","lastAffected":"0.28.4","status":"affected"}],"vendor":"pulseaiclub","product":"phi","repo":"https://github.com/pulseaiclub/phi","source":"cvelist"}],"references":[{"url":"https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pulseaiclub/phi","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-workdir","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["HaiND from the Post and Telecommunication Institute of Technology"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-10-13T18:55:37.507Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-108595","url":"https://www.cve.org/CVERecord?id=CVE-2026-108595","licence":"CVE Terms of Use","modified":"2026-10-13T18:56:08.213Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-108595","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108595","licence":"Public domain","modified":"2026-10-16T19:21:14.417Z"}],"updatedAt":"2026-11-25T22:59:43.426Z","epss":{"score":0.00315,"percentile":0.26399,"date":"2026-12-01T12:00:22.000Z"}}