CVE-2026-77621
published critical CVSS 4.0 · 9.3Vector: Arbitrary file write in the file sink via templated path (path traversal).
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vectordotdev | — | vector>= 0.10.0, < 0.57.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vectordotdev | vector | >= 0.10.0, < 0.57.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-73 CWE-73: External Control of File Name or Path
References
6- 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
- https://github.com/vectordotdev/vector/releases/tag/v0.57.0
- https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637
Provider assertions
2GitHub_M · cna
Vector: Arbitrary file write in the file sink via templated path (path traversal).
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 46bc9ee1bc1de1c7445c7b9164d3977491e25fd7671934ec2d3a5554f443589c
- Ingested
- 30 Sep 2026, 15:33:18 UTC
- Source record
- Official CVE record