CyberSecBulletin

External Control of File Name or Path

CWE-73

The product allows user input to control or influence paths or file names that are used in filesystem operations.

We track 436 vulnerabilities of this type. 99% are rated high or critical, and the average CVSS score is 8.3. 6 have been exploited in real attacks.

How this weakness is prevented

  • Architecture and Design: When the set of filenames is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames, and reject all other inputs. For example, ID 1 could map to inbox.txt and ID 2 could map to profile.txt. Features such as the ESAPI AccessReferenceMap provide this capability.
  • Architecture and Design Operation: Run your code in a jail or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict all access to files within a particular directory. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
  • Architecture and Design: For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
  • Implementation: Use a built-in path canonicalization function (such as realpath() in C) that produces the canonical version of the pathname, which effectively removes.. sequences and symbolic links (CWE-23, CWE-59).
  • Installation Operation: Use OS-level permissions and run as a low-privileged user to limit the scope of any successful attack.

Latest External Control of File Name or Path vulnerabilities

  • 8.6 High severity

    DSPy: External Control of File Name or Path

    CVE-2026-72742Stanford NLP

    DSPy 3.3.0b1 contains a file exfiltration vulnerability in the Image and Audio output field adapters that allows attackers with influence over language model outputs to read arbitrary local files by injecting a filesystem path into the url field of a parsed Im

  • 7.7 High severity

    Endpoint Manager: External Control of File Name or Path

    CVE-2026-18127Ivanti

    External control of a filename in the Core of Ivanti Endpoint Manager before version 2024 SU7 allows a remote authenticated attacker full write control over an S3 bucket configured for session recording storage.

  • 8.4 High severity

    TeamDavid: External Control of File Name or Path

    CVE-2026-54200Tobit Laboratories

    Tobit Laboratories AG TeamDavid's Webbox is vulnerable to a local file inclusion vulnerability in the send email, fax, SMS, etc. functionality. By specifying an '@@attach' command in the form field 'scjob', files can be attached to a message, which can then be

  • 8.4 High severity

    TeamDavid: External Control of File Name or Path

    CVE-2026-12070Tobit Laboratories

    Tobit Laboratories AG TeamDavid's Webbox is vulnerable to an arbitrary file deletion vulnerability in the send email, fax, SMS, etc. functionality. By specifying an @@COMMENTFILE command in the form field scjob, any file on the system can be deleted. This issu

  • 7.3 High severity

    TinyAGI: External Control of File Name or Path

    CVE-2026-19009TinyAGI

    A weakness has been identified in TinyAGI 0.0.20. This issue affects the function collectFiles of the file packages/core/src/response.ts of the component Message API Endpoint. This manipulation causes file inclusion. The attack can be initiated remotely. The e

  • 9.1 Critical severity

    Drag and Drop Multiple File Upload for…: External Control of File Name or Path

    The Drag and Drop Multiple File Upload for WooCommerce WordPress plugin before 1.1.8 does not prevent unauthenticated users from obtaining a valid nonce that is the only control gating its file-deletion routine, allowing anonymous attackers to delete files sta

  • 8.8 High severity

    Eclipse Theia: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-60009Eclipse Foundation

    In Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend binds `POST /file-upload` in every filesystem-enabled deployment. The handler takes an attacker-supplied absolute path from the multipart `uri` field and calls `fs.move(tmp,

  • 8.8 High severity

    Django: External Control of File Name or Path

    CVE-2026-15307DjangoEPSS 1.13%

    An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango spatial lookups optimistically parse the right-hand-side value as a raster by passing it to the `django.contrib.gis.gdal.GDALRaster` constructor. Any value used in a spatial lo

  • 7.1 High severity

    pardus-image-writer: External Control of File Name or Path

    External control of file name or path vulnerability in TÜBİTAK BİLGEM Software Technologies Research Institute pardus-image-writer allows Removing Important Client Functionality. This issue affects pardus-image-writer: before 0.9.0.

  • 9.8 Critical severity

    Apache Kyuubi: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-52680ApacheEPSS 1.11%

    Apache Kyuubi REST batch multipart upload handling uses the client-supplied multipart filename when creating a temporary uploaded resource. A remote attacker who can access the REST batch upload endpoint can provide path traversal sequences in the filename and

  • 10.0 Critical severity

    flyto-core: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-67429Flytohub

    Flyto2 Core is an execution kernel for automation and AI-agent workflows. Prior to 2.26.6, image.download and related file-writing modules use caller-controlled output_dir instead of validate_path_with_env_config and its FLYTO_SANDBOX_DIR confinement, allowing

  • 7.1 High severity

    grav: External Control of File Name or Path

    CVE-2026-65896Grav

    Grav API Plugin (Composer package getgrav/grav-plugin-api) before 1.0.10 fails to properly validate the slug field in the POST /pages/{route}/move endpoint. PagesController::move() sanitizes the slug only with ltrim($body['slug'], '.'), which strips leading pe

  • 8.8 High severity

    servereye Windows Agent (Sensorhub): External Control of File Name or Path

    CVE-2026-14551Servereye

    The servereye client (also known as sensorhub, technically ClientAgentContainerService) versions 20.15 and earlier are vulnerable to Local Privilege Escalation. The high-privileged service SE3Recovery (EmergencyRecoveryService.exe), running as SYSTEM, periodic

  • 8.7 High severity

    In Progress ShareFile Storage Zones Controller versions prior to 5.12.5 and 6.0.2, an…

    CVE-2026-15724Progress Software

    In Progress ShareFile Storage Zones Controller versions prior to 5.12.5 and 6.0.2, an authenticated administrative user can exploit a path traversal vulnerability to read arbitrary files from the server filesystem, write files to arbitrary directories, or dete

  • 7.5 High severity

    Apache MINA SSHD: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-56452Apache

    Path traversal in the sshd-scp component of Apache MINA SSHD. Apache MINA SSHD is a Java library for client-side and server-side SSH. The implementation of receiving files or directories via SCP did not validate filenames in SCP "C" or "D" commands. A maliciou

  • 7.1 High severity

    Network-AI: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-58484Jovancoding

    Network-AI is a TypeScript/Node.js multi-agent orchestrator. Prior to version 5.12.2, `EnvironmentManager.listBackups()` reads each backup's `_manifest.json` and trusts the manifest's `path` field. `EnvironmentManager.pruneBackups()` later passes that trusted

  • 7.1 High severity

    Switchvox SMB Edition: External Control of File Name or Path

    CVE-2026-9587Sangoma

    An authenticated local file inclusion vulnerability exists in Sangoma Switchvox SMB Edition 8.3 (104997). The play_file functionality accepts user-controlled input through the sound_path parameter and fails to properly validate file paths before accessing the

  • 8.1 High severity

    docling-core: External Control of File Name or Path

    CVE-2026-44019Docling-project

    Docling Core defines core data types and transformations for the document processing application Docling. In versions 2.5.0 and above, prior to 2.74.1, docling-core could allow local file:// image references and accepted inline data: content without a decoded-

  • 7.1 High severity

    manyfold: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-46336Manyfold3d

    Manyfold is an open source, self-hosted web application for managing a collection of 3d models, particularly focused on 3d printing. From 0.96.0 until 0.140.0, authenticated users can rename uploaded files with path traversal sequences because app/models/model

  • 9.1 Critical severity

    metabase: External Control of File Name or Path

    CVE-2026-50148Metabase

    Metabase is an open-source business intelligence and embedded analytics tool. From 1.54.0 until 1.54.24, 1.55.24, 1.56.25, 1.57.19, 1.58.14, 1.59.10, and 1.60.4, a Metabase user with permission to add or edit a database connection can achieve remote code execu

  • 8.1 High severity

    grav: External Control of File Name or Path

    CVE-2026-61873Grav

    Grav before 9.1.8 contains an arbitrary file write vulnerability in the Form plugin's process.save.filename parameter, which is validated against path traversal before Twig processing but never re-validated after rendering. Attackers can submit form data conta

  • 8.5 High severity

    Aura Wallpaper Service: External Control of File Name or Path

    CVE-2026-8920ASUS

    Improper Restriction of Communication Channel to Intended Endpoints and External Control of File Name or Path in Aura Wallpaper Service allow a local user to perform file operations by sending crafted commands containing an arbitrary file path and bypassing th

  • 8.3 High severity

    Snowflake SQLAlchemy: External Control of File Name or Path

    CVE-2026-15736Snowflake

    Snowflake SQLAlchemy versions prior to 1.11.0 contain several security vulnerabilities, including: Improper handling of user-supplied column identifiers in merge operations could allow SQL injection through attacker-controlled input keys. An attacker may be ab

  • 9.0 Critical severity

    Eclipse BaSyx - Java Server SDK: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-57898Eclipse Foundation

    In Eclipse BaSyx Java Server SDK versions 2.0.0-milestone-05 to 2.0.0-milestone-12, deployments using the MongoDB backend are vulnerable to an unauthenticated arbitrary file write through the AAS thumbnail API. The AAS thumbnail upload path accepted a client-c

  • 8.6 High severity

    mcp-gitlab: External Control of File Name or Path

    CVE-2026-61462Zereight

    mcp-gitlab contains a path traversal vulnerability in the job_id parameter of build/index.js that allows attackers to redirect GitLab API requests to arbitrary endpoints. Attackers can supply crafted job_id values like ../../../user to escape the intended path

  • 9.2 Critical severity

    Suspicious: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-13014Thales CERT

    A vulnerability in Thales CERT "Suspicious" application =< 1.3.4 allows a remote and unauthenticated attacker to execute arbitrary code and arbitrarily overwrite writable application files—including Python modules, configuration files, cron inputs, and runtime

  • 9.9 Critical severity

    OpenPLC: External Control of File Name or Path

    CVE-2026-14480OpenPLC

    OpenPLC Runtime v3 contains an authenticated arbitrary file write vulnerability in the legacy web UI program‑upload workflow. The application stores an attacker‑supplied filename (prog_file) directly into the Programs.File database field and later uses this va

  • 10.0 Critical severity

    appium: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-58192Appium

    Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value directly into path.join

  • 7.5 High severity

    App::Ack: External Control of File Name or Path

    CVE-2026-49145PETDANCE

    App::Ack versions through 3.10.0 for Perl read arbitrary files via --files-from in a project .ackrc. ack searches up the directory hierarchy from the current directory for a project .ackrc and loads its options. The project-source option blocklist in App::Ack:

  • 7.5 High severity

    AMP for WP – Accelerated Mobile Pages: External Control of File Name or Path

    CVE-2026-6101Mohammed KaludiEPSS 1.02%

    The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Arbitrary File Write in versions up to and including 1.1.12. This is due to unsafe ZIP file extraction in the ampforwp_save_local_font() function combined with inadequate cleanup t

  • 7.1 High severity

    pnpm: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-59196Pnpm

    pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted lockfile alias could be joined directly under a hoisted node_modules directory. Traversal aliases could escape that directory, while reserved aliases such as .bin or .pnpm could overwrite pnpm-o

  • 7.1 High severity

    pnpm: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-59194Pnpm

    pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a crafted patch entry could resolve outside the configured patches directory and cause pnpm patch-remove to delete an arbitrary reachable file. This vulnerability is fixed in 10.34.4 and 11.7.0.

  • 8.5 High severity

    ASUS Business Manager: External Control of File Name or Path

    CVE-2026-8921ASUS

    External Control of File Name or Path vulnerability in ASUS Business Manager allows a local user to execute arbitrary code with SYSTEM privileges via a tampered IPC message. Refer to the ' Security Update for ASUS Business Manager ' section on the ASUS Securit

  • 8.1 High severity

    Image Optimizer – Compress Images and Convert…: External Control of File Name or Path

    CVE-2026-5821Elemntor

    The Image Optimizer plugin for WordPress is vulnerable to arbitrary file deletion in versions up to and including 1.7.4. This is due to insufficient path validation in the Image_Backup::remove() function where backup file paths stored in post meta are used dir

  • 9.1 Critical severity

    WP-BusinessDirectory – Business directory…: External Control of File Name or Path

    CVE-2026-6070Cmsjunkie

    The WP-BusinessDirectory plugin for WordPress is vulnerable to Unauthenticated Arbitrary File Deletion in versions up to and including 4.0.1. This is due to insufficient path validation in the remove() method of the JBusinessDirectoryControllerUpload class. Th

  • 7.5 High severity

    ADC: Externally Controlled Reference to a Resource in Another Sphere

    CVE-2026-10816NetScaler

    Arbitrary File Read (Unauthenticated) in NetScaler ADC and NetScaler Gateway if the access to NSIP, Cluster Management IP or SNIP with management access is enabled

  • 8.1 High severity

    Frontend File Manager Plugin: External Control of File Name or Path

    CVE-2026-8095Nmedia

    The Frontend File Manager Plugin plugin for WordPress is vulnerable to Authenticated Arbitrary File Deletion in versions up to and including 23.6. This is due to a case-sensitive bypass of the wpfm_dir_path parameter sanitization in the wpfm_file_meta_update A

  • 7.1 High severity

    docling: External Control of File Name or Path

    CVE-2026-47214Docling-project

    Docling simplifies document processing by parsing diverse formats and providing integrations with the generative AI ecosystem. Prior to 2.94.0, the HTML backend has unsafe URI and path handling. This vulnerability is fixed in 2.94.0.

  • 9.8 Critical severity

    Flowise: External Control of File Name or Path

    CVE-2025-71338FlowiseEPSS 1.16%

    Flowise through 2.2.7 fails to sanitize path segments in the document-store loader endpoint, allowing unauthenticated attackers to write files outside the storage directory. Attackers can use parent-directory sequences to escape the storage directory and overw

  • 9.8 Critical severity

    Flowise: External Control of File Name or Path

    CVE-2025-71334FlowiseEPSS 4.36%

    Flowise before 3.0.6 contains an arbitrary file access vulnerability due to missing validation that the chatflowId and chatId parameters are UUIDs or numbers in file handling operations. By supplying a path-traversal value (e.g., '../../../../../tmp') as the c