{"id":"CVE-2026-108595","revision":"6a940598bc614df38be7fb3b0e731972","records":[{"revision":"6a940598bc614df38be7fb3b0e731972","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-108595","aliases":[],"title":"Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdir","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.","state":0,"publishedAt":"2026-10-10T18:16:58.378+00:00","modifiedAt":"2026-10-13T18:56:08.213+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"phi","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pulseaiclub\",\n                    \"product\": \"phi\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0.3.0\",\n                            \"lessThanOrEqual\": \"0.28.4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:golang/github.com/pulseaiclub/phi\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"repo\": \"https://github.com/pulseaiclub/phi\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","score":5.3,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind/phi-subagent-workdir-workspace-escape","https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/tools/agenttool/agent.go#L106-L120","https://github.com/pulseaiclub/phi/blob/5b3cb440a7c58115ef64283a737a43299f2805a4/internal/agent/engine_runner.go#L52-L60","https://github.com/pulseaiclub/phi","https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-workdir"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-108595","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-108595","identifiers":["CVE-2026-108595"]},"retained":false,"historicalAffected":[]}],"coverage":[]}