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·88 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-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
0 views•10 min read
•about 1 hour ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 2 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 3 hours ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
4 views•10 min read
•about 4 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
6 views•9 min read
•about 5 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read