CVE
CVE-2026-77621
Vector: Arbitrary file write in the file sink via templated path (path traversal).
Severity
Critical
Base CVSS
0.0
Fixed in
6951064ed1d295fbff67a5ba7da5971fc6f58c46
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.
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.3
4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV
0
Endor Labs
Required action
Known ransomware campaign use
References
https://github.com/vectordotdev/vector/releases/tag/v0.57.0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77621.json, https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637, https://nvd.nist.gov/vuln/detail/CVE-2026-77621, https://github.com/vectordotdev/vector/commit/6951064ed1d295fbff67a5ba7da5971fc6f58c46, https://github.com/vectordotdev/vector/commit/8832452f57afb536ea0de53a093f9fd1b669ccec, https://github.com/vectordotdev/vector/pull/25820, https://github.com/vectordotdev/vector/pull/25830
Basic information
Base CVSS
0.0
EPSS probability
0.0
EPSS percentile
0.56437
Introduced version
0f0311aebc4124eb06759633f4d4a9f098b36f07
Fix available
6951064ed1d295fbff67a5ba7da5971fc6f58c46
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.