Skip to main content

Vector EUVDEUVD-2026-84510

| CVE-2026-77621 CRITICAL
Path Traversal (CWE-22)
2026-09-22 GitHub_M
9.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject event into untrusted source
  2. Delivery
    Set path-template field to traversal/absolute path
  3. Exploit
    Vector renders unconfined path
  4. Execution
    Create parent dirs and write file as Vector process
  5. Persist
    Overwrite cron/authorized_keys/script
  6. Impact
    Code execution on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a Vector deployment (0.10.0 up to but not including 0.57.0) with a file sink whose path template interpolates an event field (e.g. path: "/base/{{ host }}.log"), AND that field must be populated from an untrusted/attacker-influenced source feeding the pipeline. The attacker needs no authentication to Vector itself but must be able to place a crafted event field value (absolute path or ../ traversal) into the pipeline. Limiting factors: it is NOT exploitable against a default install with no file sink or with static/literal paths; impact scope depends on the Vector process's filesystem privileges (higher if run as root); and full code execution additionally requires the overwritten path to be a security-relevant, subsequently-executed file (cron job, authorization file, or script).

Impact

This is a genuinely high-priority write-primitive-to-RCE flaw, but its real-world risk is strongly configuration-gated rather than universal. The vendor CVSS 4.0 vector (9.3, AV:N/AC:L/AT:N/PR:N/UI:N) rates it Critical, driven by high vulnerable-system integrity (VI:H) and high subsequent-system impact (SC:H/SI:H/SA:H) reflecting the path-traversal-to-code-execution chain. No EPSS score, KEV listing, or public POC is present in the provided data, so exploitation is theoretical/inferred, not observed - this is 'no public exploit identified at time of analysis,' NOT active exploitation. The PR:N rating models the attacker as an untrusted log producer whose data reaches Vector, which is accurate for that role, but it understates a real prerequisite the CVSS vector cannot express: the operator must have deployed a file sink whose path template interpolates an attacker-controllable event field (e.g. path: "/var/log/{{ host }}.log") AND feed it from an untrusted source. That is a non-default, operator-specific pipeline configuration. Note VC:N/VA:N in the vendor vector: the primitive is arbitrary file WRITE/overwrite, not read - confidentiality impact is indirect. Signals are internally consistent (network vector, low complexity, file-write integrity impact all align with the description); the main caveat is that raw CVSS does not capture the templating-config dependency, so defenders should verify their sink configuration before treating this as a drop-everything item.

Exploit ScenarioDerived

An attacker who can inject a log event into a source feeding a Vector pipeline sets a field used in a file sink path template (e.g. host) to a traversal or absolute value such as ../../../../etc/cron.d/pwn or /root/.ssh/authorized_keys. Vector creates the parent directories and writes/overwrites the file with its own process privileges, and because the content is attacker-influenced event data, targeting a cron file, authorized_keys, or a script that later executes yields code execution. No public exploit code is identified in the provided data, but the pull-request diff and security advisory fully describe the mechanism.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Unconfined template path resolution in the Vector observability pipeline's file sink allows attacker-influenced event data to create or overwrite files anywhere the Vector process has write access, affecting versions 0.10.0 up to but not including 0.57.0. Because the rendered path is opened without confinement to an intended directory, a crafted event field can supply an absolute path or '../' traversal, and Vector will even create the missing parent directories before writing. No public exploit code has been identified at time of analysis and the flaw is not in CISA KEV, but impact is severe (CVSS 4.0 base 9.3 / assessed CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H) and escalates to code execution when the overwritten target is a scheduled task, authorization file, or subsequently executed script. Real-world risk is configuration-gated: it requires a file sink whose path template interpolates an untrusted event field, and the damage ceiling tracks the privileges Vector runs with.

RemediationAI

Upgrade to the vendor-released patch, Vector 0.57.0 (https://github.com/vectordotdev/vector/releases/tag/v0.57.0, advisory GHSA-6342-xwvw-c637), which adds enforced template confinement and a new file-sink base_dir setting; note this is a breaking change, since templates such as key_prefix: "{{ host }}/" are rejected at startup unless they carry a literal leading segment (migrate to forms like "logs-{{ host }}/"), and any file-sink path template without a usable literal prefix must set base_dir explicitly. Do not set the escape hatch dangerously_allow_unconfined_template_resolution: true - it restores the vulnerable behavior and exposes the security_confinement_disabled gauge (monitor vector_security_confinement_disabled == 1 and alert on any component that has opted out), while drops from the fix surface as component_discarded_events_total, component_errors_total with error_type="condition_failed", and an ERROR log per dropped event. If immediate upgrade is not possible, the highest-value compensating controls are: remove or disable the file sink (or replace templated paths with fully static/literal paths that contain no event-field interpolation), and run Vector as a low-privileged non-root user in a container with a read-only root filesystem plus only explicitly required writable mounts, which limits writes to paths in the mount set; additional defense is to sanitize or drop fields from untrusted sources before they reach any template-routing sink, and to treat any writable path that is later executed (cron directories, /etc/authorization-style files, shell scripts) as the primary containment target. The trade-off for these controls is reduced routing flexibility and possible loss of log partitioning until the upgrade is applied.

Affected VersionsENISA

Vector 0.10.0, < 0.57.0

Affected Packages

euvd vector_0_10_0 fix: 0.57.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Vector is a Rust-based observability data pipeline that routes events through sources, transforms, and sinks; the file sink derives its output path by rendering a templated string such as "/base/{{ host }}.log" from event fields at runtime. The defect is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e. path traversal): the rendered path was opened directly, with no canonicalization or check that the result stayed under an operator-intended root, and the sink created intermediate parent directories as needed, so a value like '/etc/cron.d/x' or '../../etc/...' escaped the intended location. The upstream fix introduces a path-confinement layer (lib vector-common gauge SecurityConfinementDisabled, sinks/util/path_confinement with ConfineError) that enforces a routing boundary: template-rendered values must stay within an operator-configured literal prefix (for the file sink, a new base_dir field), and events whose rendered key escapes that boundary are dropped with an intentional-drop counter, a component_errors_total increment labeled error_type=condition_failed, and an ERROR log line reading "Rendered key is outside the configured base prefix; dropping event." The change is deliberately generalized beyond the file sink to every sink that uses event fields in routing templates (aws_s3, azure_blob, gcp_cloud_storage, webhdfs, elasticsearch, kafka, http, splunk_hec_logs/metrics, loki, clickhouse, redis, amqp, pulsar, mqtt, nats, greptimedb_logs, aws_cloudwatch_logs, gcp_stackdriver_logs, prometheus_remote_write), which is why the patch is documented as a breaking change.

Know when Rust gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
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
vuln.today AI 10.0 CRITICAL

Untrusted log producer needs no auth (PR:N); arbitrary file overwrite crosses out of Vector's intended directory into the OS (S:C), giving high integrity/availability impact but no direct read (C:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
Red Hat 8.1 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Sep 22, 2026 - 17:17 EUVD
CVE Published
Sep 22, 2026 - 15:19 cve.org
CRITICAL 9.3

DescriptionCVE.org

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.

Technical POC Analysis

Bug class: CWE-22, Improper Limitation of a Pathname to a Restricted Directory.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Vector observability pipeline versions 0.10.0 through 0.56.x are vulnerable to an unauthenticated file write flaw that can allow attackers to overwrite critical system files, potentially leading to code execution and full system compromise. Organizations using Vector with file sinks that interpolate untrusted event data are at risk, and leadership should prioritize immediate mitigation because the flaw is severe and configuration-gated.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis; enforce least-privilege execution, restrict file sink path templates to trusted inputs, and use OS-level confinement (e.g., SELinux, AppArmor, read-only mounts).

Threat Intelligence Overview

EPSS Score
1.1%
Top 35% exploitable
Prevalence
Medium
Popular open-source observability pipeline, common in cloud-native stacks but not universal
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Rust

View all
CVE-2024-3566 CRITICAL POC
9.8 Apr 10

Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH

CVE-2021-31162 CRITICAL POC
9.8 Apr 14

In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the ele

CVE-2021-28879 CRITICAL POC
9.8 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove

CVE-2026-58491 CRITICAL POC
9.3 Sep 21

Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti

CVE-2021-29922 CRITICAL POC
9.1 Aug 07

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni

CVE-2026-77620 HIGH POC
8.7 Sep 22

Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem

CVE-2019-12083 HIGH POC
8.1 May 13

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c

CVE-2026-96889 HIGH POC
7.8 Sep 23

Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity

CVE-2021-28878 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo

CVE-2021-28875 HIGH POC
7.5 Apr 11

In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe c

CVE-2019-16760 HIGH POC
7.5 Sep 30

Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration

CVE-2026-115905 CRITICAL
10.0 Oct 26

A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy