Description
phi 0.1.1 through 0.28.4 contains an improper link resolution vulnerability that allows malicious repositories to bypass workspace_only_writes by exploiting lexical-only path checks in the permission gate. Attackers can commit symlinks pointing outside the workspace and use prompt injection to make the write tool write attacker-influenced content to external files without approval.
Published: 2026-10-10
Score: 5.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized External File Write via Symlink
Action: Apply Patch
AI Analysis

Impact

Phi prior to 0.28.4 contains an improper link resolution flaw that allows a malicious repository to bypass the workspace_only_writes restriction. The vulnerability stems from lexical‑only path checks in the permission gate, enabling attackers to commit symlinks that resolve to locations outside the workspace. By combining these symlinks with prompt injection in the write tool, an attacker can cause the tool to write attacker‑specified content directly to external files without permission, thereby breaching confidentiality and integrity of non‑workspace data.

Affected Systems

Users and organizations deploying phi versions 0.1.1 through 0.28.4 are affected. The vulnerable component resides in the internal permission gate and write tool of pulseaiclub's phi repository. The affected product is the phi application, a git‑repository‑management tool maintained by pulseaiclub. The issue does not exist in versions prior to 0.1.1 or after 0.28.4, based on current disclosure.

Risk and Exploitability

The CVSS score of 5.7 indicates a medium severity flaw that can lead to unauthorized file writes. The EPSS score is not available, so the probability of exploitation is currently unknown, but the fact that the bug can be triggered by a malicious repository suggests a realistic attack scenario. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through malicious repository content combined with prompt injection to coerce the write tool into targeting external paths.

Generated by OpenCVE AI on October 10, 2026 at 22:02 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade phi to a patched release (0.28.5 or later) when it becomes available.
  • Restrict repository contributors and audit repository uploads to eliminate arbitrary symlink creation.
  • Validate all write paths against the workspace root before performing the write operation, ensuring that symlink target resolution is not permitted outside the workspace.

Generated by OpenCVE AI on October 10, 2026 at 22:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', '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 19:00:00 +0000

Type Values Removed Values Added
Description phi 0.1.1 through 0.28.4 contains an improper link resolution vulnerability that allows malicious repositories to bypass workspace_only_writes by exploiting lexical-only path checks in the permission gate. Attackers can commit symlinks pointing outside the workspace and use prompt injection to make the write tool write attacker-influenced content to external files without approval.
Title Phi 0.1.1 through 0.28.4 Symlink Workspace Write Restriction Bypass
Weaknesses CWE-59
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:L/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-14T16:02:53.639Z

Reserved: 2026-10-10T18:25:14.879Z

Link: CVE-2026-108599

cve-icon Vulnrichment

Updated: 2026-10-14T14:50:11.224Z

cve-icon NVD

Status : Deferred

Published: 2026-10-10T19:16:58.487

Modified: 2026-10-16T19:18:44.867

Link: CVE-2026-108599

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')