Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject event into untrusted source
-
DeliverySet path-template field to traversal/absolute path
-
ExploitVector renders unconfined path
-
ExecutionCreate parent dirs and write file as Vector process
-
PersistOverwrite cron/authorized_keys/script
-
ImpactCode 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 |
| 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 |
| Exploit ScenarioDerived | An attacker who can inject a log event into a source feeding a Vector pipeline sets a field used in a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH
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
In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove
Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti
library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni
Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo
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
Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration
A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to
EUVD-2026-84510
NVD
CVE.org
EPSS
GitHub
Exploit-DB