# CVE-2026-108595: Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdir

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-10T18:16:58.378Z
- Modified: 2026-10-16T19:21:14.417Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- pulseaiclub phi: from 0.3.0 up to 0.28.4

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape> (exploit, third-party-advisory)
- <https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120> (technical-description)
- <https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60> (technical-description)
- <https://github.com/pulseaiclub/phi> (product)
- <https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-workdir> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-108595](https://www.cve.org/CVERecord?id=CVE-2026-108595), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-108595](https://nvd.nist.gov/vuln/detail/CVE-2026-108595), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-108595 · Whole record: https://cve.day/CVE-2026-108595.json · Rebuilt by cve.day 2026-11-25T22:59:43.426Z
