External Control of File Name or Path Affecting graphifyy package, versions [0.7.2,0.9.70)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-GRAPHIFYY-21693746
  • published24 Oct 2026
  • disclosed19 Oct 2026
  • creditaeonframework

Introduced: 19 Oct 2026

New CVE NOT AVAILABLE CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade graphifyy to version 0.9.70 or higher.

Overview

graphifyy is an AI coding assistant skill (Claude Code, CodeBuddy, Codex, OpenCode, Kilo Code, Cursor, Gemini CLI, Aider, OpenClaw, Factory Droid, Trae, Hermes, Kiro, Pi, Devin CLI, Google Antigravity) - turn any folder of code, docs, papers, images, or videos into a queryable knowledge graph

Affected versions of this package are vulnerable to External Control of File Name or Path via the _cpp_preprocess function in graphify/extractors/fortran.py when processing capital-F Fortran source files (.F, .F90, etc.). The function previously relied on -nostdinc -I /dev/null flags to block file reads during C preprocessing, but cpp always searches the source file's own directory for quoted includes and always honours absolute paths regardless of those flags. An attacker who supplies a malicious Fortran file containing #include "/etc/passwd" or #include "../../../secret" can cause arbitrary host files to be inlined into the generated graph.json, GRAPH_REPORT.md, and the LLM context.

CVSS Base Scores

version 4.0
version 3.1