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.
Published: 2026-10-10
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Permission bypass enabling arbitrary file writes
Action: Patch
AI Analysis

Impact

The vulnerability (CWE-863) allows spawned sub-agents to escape the intended workspace boundaries by providing an unchecked working directory to the agent_spawn function. This bypass of the workspace_only_writes and readonly restrictions permits the agent to write files anywhere in locations that the user process can access, effectively granting arbitrary file write capability. The flaw can be triggered when an attacker injects instructions into processed content, leading to the agent spawning a worker rooted outside the designated workspace.

Affected Systems

The affected product is pulseaiclub’s phi application, versions ranging from 0.3.0 up to and including 0.28.4.

Risk and Exploitability

The CVSS score of 6.0 categorizes the issue as moderate severity. No EPSS score is available, so the likelihood of exploitation in the wild is unclear. The vulnerability is not listed in the CISA KEV catalog. Attacking requires the ability to supply custom work‑directory arguments to agent_spawn, which may be possible through local user interaction or exposed phi interfaces. If the application is reachable by remote actors, the attack vector could extend beyond local users; otherwise the threat is limited to local or privileged users who can influence the agent_spawn call.

Generated by OpenCVE AI on October 10, 2026 at 19:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phi to the latest version that removes the unchecked work‑directory check (e.g., a release newer than 0.28.4).
  • If an upgrade is not immediately feasible, disable or remove the agent_spawn capability from the configuration or limit its arguments so that a working directory cannot be specified by untrusted input.
  • Apply strict file‑system permissions to the directories that phi can write to, ensuring that only necessary writes are allowed for the user process.

Generated by OpenCVE AI on October 10, 2026 at 19:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 11 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Pulseaiclub
Pulseaiclub phi
Vendors & Products Pulseaiclub
Pulseaiclub phi

Sat, 10 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title Phi 0.3.0 through 0.28.4 Permission Bypass via agent_spawn Workdir
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 6, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T18:56:08.213Z

Reserved: 2026-10-10T18:08:12.414Z

Link: CVE-2026-108595

cve-icon Vulnrichment

Updated: 2026-10-13T18:56:03.589Z

cve-icon NVD

Status : Deferred

Published: 2026-10-10T19:16:57.927

Modified: 2026-10-16T19:21:14.417

Link: CVE-2026-108595

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T12:23:40Z

Weaknesses