Skip to main content

Phi EUVDEUVD-2026-96399

| CVE-2026-108595 MEDIUM
Incorrect Authorization (CWE-863)
2026-10-10 VulnCheck GHSA-x8rp-9mrq-5584
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Plant prompt injection in processed content
  2. Delivery
    Agent ingests malicious instructions
  3. Exploit
    Call agent_spawn with unchecked workdir
  4. Execution
    Sub-agent escapes workspace_only_writes/readonly
  5. Impact
    Unapproved file writes outside workspace

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of: (1) the Phi agent (versions 0.3.0 through 0.28.4) processing attacker-influenced/untrusted content that carries prompt-injected instructions; (2) the sub-agent spawning capability (agent_spawn) being reachable to the agent; and (3) the workspace_only_writes or readonly protection modes being relied upon, since the flaw is that agent_spawn accepts an unchecked workdir that escapes them. Limiting factors: the attack requirement (AT:P) and passive user interaction (UI:P) mean a user must actually run the agent over the malicious content; impact is confined to file writes in locations the running user can already write to (no privilege escalation beyond the user, no confidentiality or availability impact).

Impact

This is a medium-severity authorization flaw (CWE-863), rated CVSS 4.0 6.0, whose signals point to real-but-bounded risk rather than a top-tier emergency. The provided 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N) shows integrity-only impact (unapproved file writes) with no confidentiality or availability loss, and critically includes AT:P (a specific attack requirement) plus UI:P (user must process attacker content) - so exploitation is not a simple drive-by despite the network vector and lack of required privileges. No EPSS score was supplied, and the CVE is NOT listed in CISA KEV, so there is no confirmed active exploitation. No weaponized public exploit was identified at time of analysis, though a detailed technical write-up (hackmd) and direct source-line references exist, lowering the effort to reproduce. The practical priority is tempered by prerequisites: the victim must run Phi against untrusted content while workspace_only_writes/readonly protections are in use and sub-agent spawning is available. Net: a credible prompt-injection privilege/sandbox-escape in an AI agent tool worth patching, but the niche product footprint and required conditions make widespread opportunistic exploitation unlikely; treat as targeted. MISSING DATA: no EPSS, no confirmed patched version in the input, and POC status is inferred (write-up exists, no distributable exploit stated).

Exploit ScenarioDerived

An attacker seeds prompt-injected instructions into content the Phi agent will process (e.g., a source file, document, or web page), instructing the agent to invoke agent_spawn with a workdir pointing outside the confined workspace. When the victim runs the agent over that content, the spawned sub-agent inherits no workdir validation and writes files anywhere the user can write, defeating workspace_only_writes and readonly mode. No distributable public exploit is noted, but a detailed technical write-up and the vulnerable source lines are publicly referenced.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 10, 2026

Sub-agent spawning in the Phi AI agent (versions 0.3.0 through 0.28.4) accepts an unchecked workdir argument, allowing a spawned worker to be rooted outside the intended workspace and thereby bypass the workspace_only_writes and readonly protection modes. Untrusted or attacker-influenced content processed by the agent can carry prompt-injected instructions that trigger a spawn with an alternate working directory, resulting in unapproved file writes anywhere the user running Phi already has write permission. The flaw is rated CVSS 4.0 6.0 (CWE-863 incorrect authorization), is remotely reachable without credentials but requires passive user interaction and a pre-existing agent deployment; no public exploit identified at time of analysis, and impact is bounded to integrity (no confidentiality or availability loss) with no privilege gain beyond the invoking user.

RemediationAI

No vendor-released patch version is identified in the available data, so the primary action is to stop relying on workspace_only_writes or readonly as a security boundary on any Phi deployment in the 0.3.0-0.28.4 range. Until a fixed release or upstream commit is confirmed, restrict or disable sub-agent spawning: if your deployment exposes a configuration toggle for the agent_spawn tool, turn it off (side effect: multi-agent delegation and any workflows that depend on worker sub-agents stop functioning); if no toggle exists, run Phi inside an OS-level sandbox or container whose writable mounts are limited to the intended workspace and whose host filesystem is read-only (side effect: legitimate writes outside the workspace mount will fail, and containerized runs may need volume review). Additionally, treat all content passed to the agent as untrusted - do not feed Phi email, web pages, or third-party documents that you have not reviewed, since the trigger is prompt-injected instructions in processed content (side effect: reduced automation value). Monitor the upstream repository at https://github.com/pulseaiclub/phi and the advisory at https://www.vulncheck.com/advisories/phi-0.3.0-through-0.28.4-permission-bypass-via-agent-spawn-workdir for a patched release, and when one is published, upgrade and verify that agent_spawn validates its workdir argument against the session workspace root before resuming normal sub-agent use.

Affected VersionsENISA

phi 0.3.0 ≤0.28.4

Affected Packages

euvd phi no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The issue is an authorization-control weakness (CWE-863) in Phi's agent architecture rather than a memory-safety or injection-primitive bug. Phi implements a multi-agent design in which a parent agent can call the agent_spawn tool to create sub-agents; the Go implementation at internal/tools/agenttool/agent.go (lines 106-120) and internal/agent/engine_runner.go (lines 52-60) accepts a caller-supplied workdir value without validating it against the session's workspace root. The workspace_only_writes and readonly modes are enforced as path-scoped policies, so changing the sub-agent's root effectively moves it outside the policy's scope, defeating the control. The trigger is indirect prompt injection: content the agent processes (files, web pages, tool output) can contain instructions that cause the parent to spawn a worker with an arbitrary workdir, after which any write operation the sub-agent performs lands outside the sandbox. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P, VC:N/VI:H/VA:N) and the independent 3.1 assessment (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N) agree that the attacker is unauthenticated over the network but the attack requires a specific pre-condition (AT:P) plus a user actually running the agent over the malicious content (UI:P), and that the sole impact is high integrity loss confined to files the running user can already write; there is no cross-privilege escalation, data exfiltration, or denial of service.

Know when Phi gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 5.3 MEDIUM

Prompt injection in processed content is an attack requirement (AC:H) and the user must run the agent on untrusted data (UI:R); only file-write integrity is affected, so C and A are N.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche open-source AI agent framework, limited production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy