CVE-2026-77621: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in vectordotdev vector
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.
AI Analysis
Technical Summary
Vector versions from 0.10.0 up to but not including 0.57.0 contain a path traversal vulnerability in the file sink feature. The file sink renders file paths using event fields without restricting the path to a safe directory. If an attacker supplies crafted event field values containing absolute paths or parent-directory traversal sequences, Vector may create or overwrite files outside the intended directory with the privileges of the Vector process. This can lead to modification of sensitive files and potentially code execution if targeted files are scripts or authorization files. The vulnerability is addressed in version 0.57.0.
Potential Impact
An attacker able to supply event fields used in the file sink path template can cause Vector to write files arbitrarily on the filesystem with Vector's process privileges. This may allow overwriting sensitive files, leading to privilege escalation or remote code execution if the attacker targets scheduled tasks, authorization files, or executable scripts.
Mitigation Recommendations
Upgrade Vector to version 0.57.0 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated by the vendor advisory. Patch status is confirmed fixed in 0.57.0.
CVE-2026-77621: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in vectordotdev vector
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.
CVSS v4.0
Score 9.3critical
Affected software
vectordotdev
vector
pkg:github/vectordotdev/vectorRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Vector versions from 0.10.0 up to but not including 0.57.0 contain a path traversal vulnerability in the file sink feature. The file sink renders file paths using event fields without restricting the path to a safe directory. If an attacker supplies crafted event field values containing absolute paths or parent-directory traversal sequences, Vector may create or overwrite files outside the intended directory with the privileges of the Vector process. This can lead to modification of sensitive files and potentially code execution if targeted files are scripts or authorization files. The vulnerability is addressed in version 0.57.0.
Potential Impact
An attacker able to supply event fields used in the file sink path template can cause Vector to write files arbitrarily on the filesystem with Vector's process privileges. This may allow overwriting sensitive files, leading to privilege escalation or remote code execution if the attacker targets scheduled tasks, authorization files, or executable scripts.
Mitigation Recommendations
Upgrade Vector to version 0.57.0 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated by the vendor advisory. Patch status is confirmed fixed in 0.57.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T20:52:01.926Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab29fbaf7a7c541065ca860
Added to database: 09/22/2026, 15:33:14 UTC
Last enriched: 09/22/2026, 15:48:51 UTC
Last updated: 09/23/2026, 01:58:07 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.