{"id":"CVE-2026-108595","published":"2026-10-10T19:16:57.927","lastModified":"2026-10-16T19:21:14.417","description":"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.","cvssScore":5.3,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","cwes":["CWE-863"],"vendors":[],"products":[],"references":[{"url":"https://github.com/pulseaiclub/phi","tags":[]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60","tags":[]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120","tags":[]},{"url":"https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape","tags":[]},{"url":"https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-workdir","tags":[]},{"url":"https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape","tags":[]}],"exploitRefs":[{"url":"https://github.com/pulseaiclub/phi","tags":[]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60","tags":[]},{"url":"https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120","tags":[]}],"hasPoc":true,"ai":null}