Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/pulseaiclub/phi
- https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4
- https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4
- https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape
- https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-
- https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape
FAQ
What is CVE-2026-108595?
CVE-2026-108595 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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. A...
How severe is CVE-2026-108595?
CVE-2026-108595 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-108595?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.