# CVE-2026-77621: Vector: Arbitrary file write in the file sink via templated path (path traversal).

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2026-09-22T15:19:19.526Z
- Modified: 2026-09-26T00:16:35.683Z
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- vectordotdev vector: >= 0.10.0, < 0.57.0

## References

- <https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637>
- <https://github.com/vectordotdev/vector/pull/25820>
- <https://github.com/vectordotdev/vector/pull/25830>
- <https://github.com/vectordotdev/vector/commit/6951064ed1d295fbff67a5ba7da5971fc6f58c46>
- <https://github.com/vectordotdev/vector/commit/8832452f57afb536ea0de53a093f9fd1b669ccec>
- <https://github.com/vectordotdev/vector/releases/tag/v0.57.0>

## Sources

- CVE List: [CVE-2026-77621](https://www.cve.org/CVERecord?id=CVE-2026-77621), CVE Terms of Use, modified 2026-09-25
- NVD: [CVE-2026-77621](https://nvd.nist.gov/vuln/detail/CVE-2026-77621), Public domain, modified 2026-09-26

---

Page: https://cve.day/CVE-2026-77621 · Whole record: https://cve.day/CVE-2026-77621.json · Rebuilt by cve.day 2026-11-25T22:59:40.456Z
