Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M
CVE-2026-77621Vector: Arbitrary file write in the file sink via templated path (path traversal).
Critical 9.3
In plain English
A critical-severity path traversal in vector from vectordotdev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| vectordotdev | vector | >= 0.10.0, < 0.57.0 |
Weakness: CWE-22, CWE-73 · 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
References
- https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637 x_refsource_CONFIRM
- https://github.com/vectordotdev/vector/pull/25820 x_refsource_MISC
- https://github.com/vectordotdev/vector/pull/25830 x_refsource_MISC
- https://github.com/vectordotdev/vector/commit/6951064ed1d295fbff67a5ba7da5971fc6f58c46 x_refsource_MISC
- https://github.com/vectordotdev/vector/commit/8832452f57afb536ea0de53a093f9fd1b669ccec x_refsource_MISC
- https://github.com/vectordotdev/vector/releases/tag/v0.57.0 x_refsource_MISC