{"id":"CVE-2026-77621","aliases":[],"summary":"Vector: Arbitrary file write in the file sink via templated path (path traversal).","published_at":"2026-09-22T15:19:19.526Z","modified_at":"2026-10-07T12:27:33Z","products":[],"rating":{"severity":"critical","score":9.3,"vector":"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.011239999905228615,"percentile":0.6695200204849243,"date":"2026-11-19T00:00:00Z"},"priority":11.3,"details":"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_stack":[],"affected_other":[{"ecosystem":"CVE","package":"vectordotdev/vector","versions":[">= 0.10.0, < 0.57.0"],"provider":"cvelistv5","source":"CVE-2026-77621","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:6","status":"not_affected","packages":["openshift-logging/vector-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-77621"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-77621","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-77621","license":"CC-BY-4.0","published_at":"2026-09-22T15:19:19.526Z","modified_at":"2026-09-25T23:32:37.447Z","summary":"Vector: Arbitrary file write in the file sink via templated path (path traversal).","details":"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":[{"type":"CVSS_V4","score":"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","source":"CVE-2026-77621"}],"affected":[{"ecosystem":"CVE","package":"vectordotdev/vector","versions":[">= 0.10.0, < 0.57.0"],"provider":"cvelistv5","source":"CVE-2026-77621","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/pull/25820"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/pull/25830"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/commit/6951064ed1d295fbff67a5ba7da5971fc6f58c46"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/commit/8832452f57afb536ea0de53a093f9fd1b669ccec"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/releases/tag/v0.57.0"}]},{"provider":"redhat-vex","source_id":"CVE-2026-77621","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-77621","license":"CC-BY-4.0","published_at":"2026-09-22T15:19:19.526Z","modified_at":"2026-10-07T12:27:33Z","summary":"vector: Vector: Arbitrary file write in the file sink via templated path (path traversal).","details":"A flaw was found in Vector. A path traversal vulnerability in the file sink may allow a remote attacker who controls event fields referenced in the output path template to create or overwrite arbitrary files with the privileges of the Vector process. Depending on the files affected, this may result in arbitrary code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2026-77621"},{"type":"Red Hat","score":"Important","source":"CVE-2026-77621"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Logging Subsystem for Red Hat OpenShift","cpe":"cpe:/a:redhat:logging:6","status":"not_affected","packages":["openshift-logging/vector-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-77621"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77621.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-77621"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2537983"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-77621"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77621"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/commit/6951064ed1d295fbff67a5ba7da5971fc6f58c46"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/commit/8832452f57afb536ea0de53a093f9fd1b669ccec"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/pull/25820"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/pull/25830"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/releases/tag/v0.57.0"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637"}]}],"references":[{"type":"WEB","url":"https://github.com/vectordotdev/vector/security/advisories/GHSA-6342-xwvw-c637"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/pull/25820"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/pull/25830"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/commit/6951064ed1d295fbff67a5ba7da5971fc6f58c46"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/commit/8832452f57afb536ea0de53a093f9fd1b669ccec"},{"type":"WEB","url":"https://github.com/vectordotdev/vector/releases/tag/v0.57.0"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77621.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-77621"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2537983"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-77621"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77621"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-77621","url":"https://www.cve.org/CVERecord?id=CVE-2026-77621","license":"CC-BY-4.0","modified_at":"2026-09-25T23:32:37.447Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-77621","url":"https://access.redhat.com/security/cve/CVE-2026-77621","license":"CC-BY-4.0","modified_at":"2026-10-07T12:27:33Z","relation":"self"}]}
