CVE-2026-108595
Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdir
- State
- Published
- Severity
- 6.0 Medium
- Published
- Oct 10, 2026
- Updated
- Oct 13, 2026
- Reserved
- Oct 10, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
Affected Products
| Product | Versions |
|---|---|
phipulseaiclub |
|
References
- https://hackmd.io/@haind/phi-subagent-workdir-workspace-escapethird-party-advisory
- https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120technical-description
- https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60technical-description
- https://github.com/pulseaiclub/phiproduct
- VulnCheck Advisory: Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdirthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.