CVE-2026-77621

Vector: Arbitrary file write in the file sink via templated path (path traversal).

Published Sep 22, 2026 CVSS 4.0 · 9.3 Critical EPSS 1.1% KEV · Not listed
Description
Vector is a high-performance observability data pipeline. From 0.10.0 until 0.57.0, the file sink renders its templated path from event fields and opens the result without confining it to an intended directory. When an untrusted source supplies an event field used by the path template, the value can contain an absolute path or parent-directory traversal, causing Vector to create parent directories and create or overwrite files outside the intended location with the Vector process privileges. The resulting file write can modify sensitive files and can lead to code execution when a scheduled task, authorization file, or subsequently executed script is targeted. This issue is fixed in version 0.57.0.

Analysis

AI-generated

Technical impact

Vector, a high‑performance observability data pipeline, allowed an untrusted source to control the rendering of file paths for its file sink. The path string was built from event fields without confinement to a base directory, permitting absolute paths or parent‑directory traversal. This permitted the creation or overwriting of files outside the intended location with the privileges of the Vector process, potentially modifying sensitive files and enabling code execution through affected scheduled tasks, authorization files, or subsequently executed scripts.

Affected Systems

The vulnerability affected versions of Vector from 0.10.0 through 0.57.0, distributed by vectordotdev. The file sink component was responsible for the path rendering flaw, and all users deploying Vector within this version range were impacted.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity for this flaw. The EPSS score is 1%, the lack of a KEV listing does not reduce the risk; attackers can supply malicious event data to create or modify files, potentially leading to privilege escalation or remote code execution. The attack is likely possible over any interface that allows arbitrary event data to reach the Vector instance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Vector v0.57.0 or later to obtain the fixed implementation that confines file paths.
  • If an immediate upgrade is not possible, remove or disable the file sink for data sourced from untrusted inputs.
  • Implement stricter access controls or monitoring to detect unauthorized file creation or modification in directories monitored by Vector.

Generated by OpenCVE AI on September 23, 2026 at 16:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vectordotdev
Vectordotdev vector
Vendors & Products Vectordotdev
Vectordotdev vector
Type Values Removed Values Added
Description Vector is a high-performance observability data pipeline. From 0.10.0 until 0.57.0, the file sink renders its templated path from event fields and opens the result without confining it to an intended directory. When an untrusted source supplies an event field used by the path template, the value can contain an absolute path or parent-directory traversal, causing Vector to create parent directories and create or overwrite files outside the intended location with the Vector process privileges. The resulting file write can modify sensitive files and can lead to code execution when a scheduled task, authorization file, or subsequently executed script is targeted. This issue is fixed in version 0.57.0.
Title Vector: Arbitrary file write in the file sink via templated path (path traversal).
Weaknesses CWE-22
CWE-73
References
Metrics cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-22

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

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 25, 2026, 11:32 PM
Reserved
Aug 20, 2026, 8:52 PM
Status
Awaiting Analysis
Published
Sep 22, 2026, 4:17 PM
Modified
Sep 26, 2026, 12:16 AM