{"id":"CVE-2026-108595","title":"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","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 in…","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","cwe":["CWE-863"],"vendor":"pulseaiclub","product":"phi","affected":["phi >= 0.3.0 <= 0.28.4"],"published":"2026-10-10","updated":"2026-10-16","sourceUpdated":"2026-10-16T19:21:14.417","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-108595","references":[{"url":"https://github.com/pulseaiclub/phi","label":"disclosure@vulncheck.com"},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60","label":"disclosure@vulncheck.com"},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-workdir","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","cve.org","exploit-available"],"epss":0.00315,"epssPercentile":0.24303,"exploitAvailable":true,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-13T18:55:37.507880Z"},"ingestedAt":"2026-10-10T19:30:07.154Z","slug":"CVE-2026-108595","body":"## Overview\n\nPhi 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":29.2,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[{"seq":221086,"id":"CVE-2026-108595","ts":1792027071456,"field":"exploit_available","old":"false","new":"true"}]}