CVE-2026-108595 Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdir
Attackers can bypass workspace restrictions in Phi to write files anywhere via prompt injection, requiring an upgrade to secure the agent spawn mechanism.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-108595?
CVE-2026-108595 is a medium-severity missing authorization vulnerability in pulseaiclub phi, published on 10 Oct 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-863
Which versions are affected by CVE-2026-108595?
How do I fix CVE-2026-108595?
No fix has been published for CVE-2026-108595 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-108595 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108595 exists.
Sources
Also known as GHSA-x8rp-9mrq-5584.