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.
Published: 2026-08-20
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

VictoriaMetrics is a scalable time‑series monitoring solution. The vmrestore command fails to validate backup part path components before writing the restored data to disk. An attacker who can supply or alter backup objects in S3, GCS, Azure Blob Storage, or other cloud storage can embed ".." components in object names. When an operator restores such a backup, the crafted names cause vmrestore to create or overwrite files outside its intended restore root, thereby enabling modification of arbitrary files with the file system permissions of the vmrestore process. This can compromise the integrity of the system and potentially allow privilege escalation if the attacker can redirect the restore to critical files.

Affected Systems

VictoriaMetrics VictoriaMetrics is affected in all releases prior to v1.122.25, v1.136.12, and v1.146.0. The vulnerability is fixed in those versions and all later releases.

Risk and Exploitability

The CVSS score of 6.8 places this vulnerability in the moderate range. The exploit probability (EPSS) data is not available, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector requires the attacker to have the ability to manipulate the names of backup objects stored in a cloud storage service; the attack succeeds when an operator runs vmrestore against the compromised backup. The risk is therefore moderate, with exploitation possible in an environment where backup objects are not strictly controlled and can be tampered with.

Generated by OpenCVE AI on August 20, 2026 at 20:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade VictoriaMetrics to a patched release, such as v1.122.25, v1.136.12, v1.146.0, or any newer version. The patch adds path validation for backup part names during restore.
  • Ensure that backup objects stored in S3, GCS, Azure Blob Storage, or equivalent do not contain path traversal components; sanitize or reject any object names that include ".." before initiating a restore. This mitigates the risk of unintended file creation or overwrites.
  • Restrict write access to the backup storage and enforce that only trusted, signed backup parts are supplied to vmrestore, so an attacker cannot inject malicious object names.

Generated by OpenCVE AI on August 20, 2026 at 20:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Victoriametrics
Victoriametrics victoriametrics
Vendors & Products Victoriametrics
Victoriametrics victoriametrics

Thu, 20 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N'}


Subscriptions

Victoriametrics Victoriametrics
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-20T18:27:39.780Z

Reserved: 2026-07-10T17:38:57.110Z

Link: CVE-2026-61625

cve-icon Vulnrichment

Updated: 2026-08-20T18:27:34.461Z

cve-icon NVD

Status : Received

Published: 2026-08-20T17:18:51.783

Modified: 2026-08-20T19:16:56.710

Link: CVE-2026-61625

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T20:30:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')