/

CVE-2026-63502

Severity:

HIGH RISK

(8.3)

Path Traversal (CWE-22) in Yeti Local File Storage

CVE-2026-63502

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Arbitrary File Read and Write

Severity:

HIGH RISK

(8.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Yeti derives export filenames from user-controlled task names without adequately confining them to the intended storage directory. A low-privileged authenticated user may exploit this behavior with the default local storage backend to read service-account-accessible files or write export output to other writable paths.

Yeti derives export filenames from user-controlled task names without adequately confining them to the intended storage directory. A low-privileged authenticated user may exploit this behavior with the default local storage backend to read service-account-accessible files or write export output to other writable paths.

Affected context

The issue affects Yeti deployments using the local file storage backend where export filenames are derived from user-controlled task names without sufficient sanitization or path confinement. Export creation and content retrieval are relevant operations; the impact depends on the filesystem permissions of the Yeti service account.

The issue affects Yeti deployments using the local file storage backend where export filenames are derived from user-controlled task names without sufficient sanitization or path confinement. Export creation and content retrieval are relevant operations; the impact depends on the filesystem permissions of the Yeti service account.

Exploit preconditions

  • Attack surface: Yeti's task export API and local file storage backend
  • Required access: A low-privileged authenticated account that can create export tasks
  • Trigger point: Export task creation and subsequent handling or retrieval of export content
  • Why exploitation is possible: User-controlled task names influence filesystem paths without reliable traversal protection or confinement to the intended storage location
  • Attack surface: Yeti's task export API and local file storage backend
  • Required access: A low-privileged authenticated account that can create export tasks
  • Trigger point: Export task creation and subsequent handling or retrieval of export content
  • Why exploitation is possible: User-controlled task names influence filesystem paths without reliable traversal protection or confinement to the intended storage location

Why this happens

The application uses a user-controlled task name to derive an export filename and passes it to local storage without sufficiently validating the resulting path. If traversal components are accepted and the resolved path is not confined to an approved directory, filesystem operations can escape the intended storage area. This is a path traversal weakness classified as CWE-22: Improper Limitation of a Pathname to a Restricted Directory.

The application uses a user-controlled task name to derive an export filename and passes it to local storage without sufficiently validating the resulting path. If traversal components are accepted and the resolved path is not confined to an approved directory, filesystem operations can escape the intended storage area. This is a path traversal weakness classified as CWE-22: Improper Limitation of a Pathname to a Restricted Directory.

Potential impact

  • An attacker may read files that are accessible to the Yeti service account.
  • An attacker could write export output to other paths writable by that account.
  • Sensitive data may be exposed or files in writable locations may be altered.
  • The severity of resulting system impact depends on the service account's filesystem permissions; universal code execution is not established.
  • An attacker may read files that are accessible to the Yeti service account.
  • An attacker could write export output to other paths writable by that account.
  • Sensitive data may be exposed or files in writable locations may be altered.
  • The severity of resulting system impact depends on the service account's filesystem permissions; universal code execution is not established.

General mitigation guidance

Defensive patterns focus on treating task names as untrusted data and ensuring storage operations remain within an explicitly approved directory.

  • Generate storage filenames independently of user-provided names, or map user-facing names to safe identifiers.
  • Normalize and resolve paths, then enforce confinement to the intended storage root before file operations.
  • Use storage APIs that prevent directory escape and reject invalid path components.
  • Run the service with least-privilege filesystem permissions and limit writable locations.
  • Prefer storage configurations that restrict exports to a dedicated directory with narrowly scoped access.

Defensive patterns focus on treating task names as untrusted data and ensuring storage operations remain within an explicitly approved directory.

  • Generate storage filenames independently of user-provided names, or map user-facing names to safe identifiers.
  • Normalize and resolve paths, then enforce confinement to the intended storage root before file operations.
  • Use storage APIs that prevent directory escape and reject invalid path components.
  • Run the service with least-privilege filesystem permissions and limit writable locations.
  • Prefer storage configurations that restrict exports to a dedicated directory with narrowly scoped access.

How teams detect issues like this

  • Use static analysis to identify user-controlled values flowing into filesystem paths and file operations.
  • Review export code for path normalization, canonical-path checks, and enforcement of storage-root confinement.
  • Check that API inputs cannot determine filesystem locations and that storage policies restrict reads and writes to approved directories.
  • Monitor for export operations involving unexpected paths and review service-account filesystem permissions.
  • Use static analysis to identify user-controlled values flowing into filesystem paths and file operations.
  • Review export code for path normalization, canonical-path checks, and enforcement of storage-root confinement.
  • Check that API inputs cannot determine filesystem locations and that storage policies restrict reads and writes to approved directories.
  • Monitor for export operations involving unexpected paths and review service-account filesystem permissions.

Sources

SourceLink
github.comgithub.com/yeti-platform/yeti/commit/bfd7c2424dc05dea2d46b5b106b5071f959d5d5a
github.comgithub.com/yeti-platform/yeti/pull/1280
github.comgithub.com/yeti-platform/yeti/releases/tag/2.5.1
github.comgithub.com/yeti-platform/yeti/security/advisories/GHSA-4q3w-w2g5-8wqq

Frequently asked

questions

It concerns export filename handling with Yeti's local storage backend. The files that may be read or written depend on the Yeti service account's filesystem permissions.

The described path requires a low-privileged authenticated user who can create export tasks. The default local storage backend is also relevant.

Avoid using user-controlled names as filesystem paths. Resolve storage paths and verify they remain confined to a dedicated, approved storage directory before performing file operations.

Treat names and paths from API requests as untrusted, use generated storage identifiers, enforce directory confinement, and run services with minimal filesystem privileges.

It concerns export filename handling with Yeti's local storage backend. The files that may be read or written depend on the Yeti service account's filesystem permissions.

The described path requires a low-privileged authenticated user who can create export tasks. The default local storage backend is also relevant.

Avoid using user-controlled names as filesystem paths. Resolve storage paths and verify they remain confined to a dedicated, approved storage directory before performing file operations.

Treat names and paths from API requests as untrusted, use generated storage identifiers, enforce directory confinement, and run services with minimal filesystem privileges.

Find out what's already
exploitable in your codebase.