CVE-2026-108595
Phi 0.3.0 through 0.28.4 contains a permission bypass vulnerability …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pulseaiclub/phi
- github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/en
- github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/ag
- hackmd.io/@haind/phi-subagent-workdir-workspace-escape
- www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-wo
- nvd.nist.gov/vuln/detail/CVE-2026-108595
- cve.org/CVERecord?id=CVE-2026-108595
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.