CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-67429

CVE-2026-67429: Arbitrary File Write and Path Traversal in Flyto2 Core Modules

Alon Barad
Alon Barad
Software Engineer

Jul 31, 2026·6 min read·3 visits

Executive Summary (TL;DR)

A critical path traversal vulnerability in Flyto2 Core allows unauthenticated remote code execution via arbitrary file write due to caller-controlled base directory validation parameters.

CVE-2026-67429 is a critical path traversal vulnerability in Flyto2 Core file-writing modules, including image.download and twelve other modules. By exploiting an insecure validation check that relied on user-controlled parameters, unauthenticated remote attackers can bypass directory confinement and write arbitrary files to the file system, leading to remote code execution.

Vulnerability Overview

Flyto2 Core functions as an execution kernel designed to orchestrate automation and AI-agent workflows. Within this environment, workflow tasks frequently require file operations, including downloading resources, converting documents, and processing images. To expose these capabilities safely, the application implements distinct modules that handle write operations to the local filesystem.\n\nSecurity bounds must restrict these modules from accessing critical system files. However, CVE-2026-67429 introduces a validation flaw within multiple file-writing routines, most prominently the image.download module. This weakness permits unauthenticated remote callers to bypass directory confinement controls entirely.\n\nAn unauthenticated remote attacker can exploit this weakness by submitting malicious payloads through exposed execution interfaces. By manipulating parameters, the caller can execute arbitrary file writes outside the intended confinement directory. The security consequence is complete system integrity compromise, which serves as a baseline for achieving remote code execution.

Root Cause Analysis

The root cause of CVE-2026-67429 resides in an insecure path validation scheme within src/core/modules/atomic/image/download.py. The validation routine attempts to verify that the destination file path stays within the boundaries of a target directory. However, the system relies on user-supplied input values to define both the validation base and the final file output path.\n\nTo evaluate directory containment, the codebase uses the Python standard library function os.path.commonpath. This function identifies the longest common sub-path among a list of provided directories. The validation logic checks if the common path matches the designated base path, throwing an error if there is a mismatch. Because both paths originate from the attacker-controlled parameter payload, the attacker can manipulate the base directory coordinate to match any targeted output path.\n\nFor example, setting the base directory to root / and the destination file path to /etc/cron.d/pwn_cron causes the validation mechanism to check the common path between / and /etc/cron.d/pwn_cron. This calculation returns / as the common ancestor. Since the resolved common path matches the attacker-supplied base directory /, the verification succeeds without triggering an exception. This structural flaw effectively transforms the validation step into a no-op whenever overlapping values are supplied.\n\nFurthermore, the validation routine was entirely absent in twelve other file-manipulation modules. Modules performing operations such as image formatting, scaling, QR code generation, and Excel compilation wrote files directly to user-defined paths. The combination of an insecure validation check in the download module and a total lack of validation in sister modules created a broad attack surface across the framework.

Code Analysis

To visualize the vulnerability mechanics, examine the vulnerable source code compared to the remediated implementation. The original code in image/download.py extracted the base and target parameters directly from the user's action configuration payload.\n\npython\n# PRE-FIX INSECURE PATH VALIDATION\n# Both variables are derived from user-controlled parameters\nbase_real = os.path.realpath(output_dir)\ntarget_real = os.path.realpath(output_path)\n\n# The check fails to use a static, trusted server-side constant\nif os.path.commonpath([base_real, target_real]) != base_real:\n raise Exception(\'Invalid file path\')\n\n\nThe patched code introduces a centralized validation routine named validate_path_with_env_config. This function retrieves the base directory from the static environment variable FLYTO_SANDBOX_DIR instead of trusting user input parameters.\n\npython\n# POST-FIX SECURE SANITIZATION\ntry:\n # The validation function enforces confinement to FLYTO_SANDBOX_DIR\n target_real = validate_path_with_env_config(output_path)\nexcept PathTraversalError as e:\n raise ModuleError(str(e), code=\"PATH_TRAVERSAL\")\n\n\nIn document modules like excel_write.py, the remediation follows a similar pattern. The system intercepts the write path and enforces the sandbox check before executing directory creation or writing workbook bytes to the disk, mitigating the traversal vector systematically across all filesystems sinks.

Exploitation Methodology

The exploitation flow of this vulnerability requires network access to the API endpoint or workflow executor of Flyto2 Core. The attacker begins by setting up an external web server to host a malicious script or configuration payload. This payload acts as the file to be written to the vulnerable server.\n\nNext, the attacker issues a request to the image.download module. In the payload parameters, the attacker overrides the default output directory and destination path, aligning both values to target a sensitive system area. The following diagram details the transaction flow between the components:\n\nmermaid\ngraph LR\n A[\"Attacker Server\"] -->|\"Host Payload\"| B[\"Malicious File\"]\n C[\"Exploit Request\"] -->|\"Parameter Injection\"| D[\"Flyto2 API Engine\"]\n D -->|\"Validation Bypass\"| E[\"Host Filesystem Write\"]\n E -->|\"Create/Overwrite\"| F[\"System Cron / SSH Key\"]\n\n\nWhen the API engine receives the request, it retrieves the payload from the attacker's web server via aiohttp. The validation routine compares the paths and permits the action. The application then writes the retrieved file to the target location on the filesystem. If the process runs with root permissions, this allows overwriting system cron configurations or SSH authorized keys, facilitating immediate remote command execution.

Impact Assessment

The impact of CVE-2026-67429 represents a severe risk to the host environment due to the arbitrary file write capability. The CVSS score of 10.0 reflects that unauthorized network actors can compromise system integrity without any user interaction. This vulnerability facilitates unauthorized data modification, service disruptions, and total host compromise.\n\nThrough selective writing, an attacker can modify system services or place persistent shells. By writing malicious crontab entries to /etc/cron.d, the attacker executes administrative commands under root context. Alternatively, appending a public key to /root/.ssh/authorized_keys allows direct SSH access to the host machine.\n\nIn automated environments powered by AI agents, this risk is heightened. Since agents execute actions dynamically based on prompt directives, prompt injection vectors can invoke the vulnerable modules indirectly. This enables attacks without direct API interaction, rendering standard network boundary defenses ineffective against malicious workflow instructions.

Remediation and Detection

The primary remediation strategy requires updating the Flyto2 Core library to version 2.26.6 or higher. The update integrates centralized validation across all vulnerable entry points, rendering the parameter override bypass ineffective. Administrators must ensure that the deployment environment defines the FLYTO_SANDBOX_DIR variable to restrict file operations to a dedicated, unprivileged workspace.\n\nIf patching cannot be performed immediately, administrators should run the Flyto2 Core process inside an isolated container with a read-only root file system. This containerization prevents the process from writing outside of explicitly mounted, ephemeral storage volumes. Additionally, the application process should run under a minimally privileged system user account to restrict writing to configuration directories.\n\nFor detection, monitor application logs for anomalous output_dir parameter configurations that point to the root / or system paths. Implement file integrity monitoring on critical filesystems directories to detect unexpected modifications from the application service. Network monitoring should watch for outgoing connection requests from the application to untrusted external hosts during image-handling routines.

Official Patches

flytohubOfficial patch fixing path traversal across 13 modules

Fix Analysis (1)

Technical Appendix

CVSS Score
10.0/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Affected Systems

Flyto2 Core

Affected Versions Detail

Product
Affected Versions
Fixed Version
flyto-core
flytohub
< 2.26.62.26.6
AttributeDetail
CWE IDCWE-22, CWE-73
Attack VectorNetwork (AV:N)
CVSS Score10.0 (Critical)
EPSS Score0.00494
ImpactArbitrary File Write / Remote Code Execution
Exploit StatusProof of Concept (PoC) verified
KEV StatusNot listed

MITRE ATT&CK Mapping

T1083File and Directory Discovery
Discovery
T1005Data from Local System
Collection
T1222File and Directory Permissions Modification
Defense Evasion
CWE-22
Improper Limitation of a Pathname to a Restricted Directory

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Vulnerability Timeline

Initial vulnerability discovery
2026-05-30
Security patch committed to repository
2026-07-07
GitHub Security Advisory published
2026-07-29
Flyto2 Core v2.26.6 released
2026-07-29

References & Sources

  • [1]GitHub Security Advisory GHSA-2956-977x-2w3r
  • [2]Fix Commit d5f89d71303e
  • [3]Release Notes v2.26.6
  • [4]CVE-2026-67429 Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•4 minutes ago•CVE-2026-67431
8.3

CVE-2026-67431: Session Poisoning via Improper Access Control in Model Context Protocol Ruby SDK

An Improper Access Control vulnerability exists in the Model Context Protocol (MCP) Ruby SDK prior to version 0.23.0. The stateful transport implementation failed to bind established sessions to their original owners or connection contexts, enabling unauthorized actors with access to active session IDs to execute arbitrary tools or alter session state.

Alon Barad
Alon Barad
0 views•7 min read
•about 1 hour ago•CVE-2026-67435
6.0

CVE-2026-67435: Custom Authentication Header Leakage via Cross-Origin Redirects in linuxfabrik-lib

CVE-2026-67435 is a security vulnerability in the linuxfabrik-lib Python library prior to version 6.0.0. When performing HTTP requests with follow_redirects enabled, custom authentication headers (such as X-Auth-Token or X-Api-Key) are forwarded during cross-origin redirects. A malicious or compromised server can leverage this behavior to capture sensitive monitoring and administrative credentials, leading to potential unauthorized access and Server-Side Request Forgery (SSRF).

Amit Schendel
Amit Schendel
5 views•6 min read
•about 3 hours ago•CVE-2026-67427
8.6

CVE-2026-67427: Host Environment Variable Access Policy Bypass via Template Interpolation in Flyto2 Core

CVE-2026-67427 is a capability bypass vulnerability in the Flyto2 Core workflow execution kernel. Due to a logical inconsistency in how dynamic parameters are resolved, the system evaluates environment variables via template interpolation prior to executing capability filter validation. This permits unprivileged workflow definitions to completely bypass denylist restrictions on the `env.get` module, exfiltrating critical host configurations, API tokens, and credentials via allowed communication channels.

Amit Schendel
Amit Schendel
5 views•5 min read
•about 4 hours ago•CVE-2026-67425
8.6

CVE-2026-67425: Insecure Credential Forwarding in Flyto2 Core

An insecure credential forwarding vulnerability in Flyto2 Core prior to version 2.26.6 allows attackers to exfiltrate operator API keys. This occurs because the system forwards environment-derived API keys to user-controlled custom endpoints, bypassing SSRF guards designed only for private target validation.

Amit Schendel
Amit Schendel
5 views•6 min read
•about 5 hours ago•CVE-2025-4318
9.0

CVE-2025-4318: Remote Code Execution in AWS Amplify codegen-ui

A critical remote code execution (RCE) vulnerability exists in AWS Amplify Studio's code-generation library (@aws-amplify/codegen-ui). An authenticated attacker with permissions to create or modify component schemas can inject malicious JavaScript code into those schemas. When the Amplify CLI or the build environment processes these schemas, the unvalidated expressions are executed within the host Node.js environment, leading to full system compromise.

Alon Barad
Alon Barad
8 views•5 min read
•about 6 hours ago•CVE-2026-67426
9.3

CVE-2026-67426: Unauthenticated Remote Code Execution and Secret Exfiltration in Flyto2 Core

CVE-2026-67426 is a critical vulnerability in Flyto2 Core prior to version 2.26.7. The standalone flyto-verification service binds to all interfaces (0.0.0.0) on port 8344 and exposes an unauthenticated POST /run endpoint. This endpoint accepts an arbitrary client-controlled callback URL and makes an outbound POST request containing the sensitive internal runner secret in the headers. Attackers can exploit this to retrieve the FLYTO_RUNNER_SECRET and perform Server-Side Request Forgery (SSRF) against internal network targets.

Amit Schendel
Amit Schendel
6 views•6 min read