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

Published Sep 22, 2026
·
Updated

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 Software

1 affected component
Datadog Vector>=0.10.0<0.57.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vector to a version that resolves this vulnerability.

    Fixed in 0.57.0

Event History

Sep 22, 2026
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required to exploit this issue?

An attacker must be able to supply an untrusted event field that is referenced by a file sink path template. The attacker can then use an absolute path or parent-directory traversal in that field to direct writes outside the intended directory.

2

Which deployments are exposed?

Vector versions from 0.10.0 up to, but not including, 0.57.0 are affected when a file sink uses a templated path containing event-supplied data from an untrusted source. Deployments without such a path template are not described as exploitable by the available information.

3

What is the practical impact of a successful exploit?

The attacker can cause Vector to create directories and create or overwrite files with the privileges of the Vector process. This may enable modification of sensitive files and potential code execution if the target is a scheduled task, authorization file, or script that is later executed.

4

What is the remediation?

Upgrade Vector to version 0.57.0, which fixes the issue. If upgrading cannot happen immediately, avoid using untrusted event fields in file sink path templates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203