Skip to content
CVE PROGRAM SOURCE RECORD6.8 Medium

CVE-2026-61625

VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root

Description

VictoriaMetrics is a scalable solution for monitoring and managing time series data. Prior to 1.122.25, 1.136.12, and 1.146.0, vmrestore does not validate backup part path components before using lib/backup/actions/restore.go and lib/backup/fslocal/fslocal.go to write restored data below storageDataPath. An attacker who can supply or modify an S3, GCS, Azure Blob Storage, or other backup source can place .. components in object names. When an operator restores that source, the crafted names can create or overwrite files outside the intended restore root within the filesystem permissions of the vmrestore process. This issue is fixed in versions 1.122.25, 1.136.12, and 1.146.0.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

VictoriaMetrics VictoriaMetrics

  • >= 1.137.0, < 1.146.0affected
  • >= 1.123.0, < 1.136.12affected
  • < 1.122.25affected

References