---
id: CVE-2026-61625
title: >-
  VictoriaMetrics is a scalable solution for monitoring and managing time series
  data
summary: >-
  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/bac…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N'
cwe:
  - CWE-22
vendor: VictoriaMetrics
product: github.com/VictoriaMetrics/VictoriaMetrics
affected:
  - 'github.com/VictoriaMetrics/VictoriaMetrics >= 1.137.0, < 1.146.0'
  - 'github.com/VictoriaMetrics/VictoriaMetrics >= 1.123.0, < 1.136.12'
  - github.com/VictoriaMetrics/VictoriaMetrics < 1.122.25
patched:
  - github.com/VictoriaMetrics/VictoriaMetrics 1.146.0
  - github.com/VictoriaMetrics/VictoriaMetrics 1.136.12
  - github.com/VictoriaMetrics/VictoriaMetrics 1.122.25
published: '2026-08-20'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61625'
references:
  - url: >-
      https://github.com/VictoriaMetrics/VictoriaMetrics/commit/710c920d6083327042a309e449fae4383617d817
    label: security-advisories@github.com
  - url: 'https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25'
    label: security-advisories@github.com
  - url: 'https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12'
    label: security-advisories@github.com
  - url: 'https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/VictoriaMetrics/VictoriaMetrics/security/advisories/GHSA-8q3c-rjr9-xxrp
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61625'
  - url: 'https://github.com/VictoriaMetrics/VictoriaMetrics'
  - url: 'https://github.com/advisories/GHSA-8q3c-rjr9-xxrp'
tags:
  - nvd
  - osv
  - go
  - ghsa
epss: 0.00405
epssPercentile: 0.31899
aliases:
  - GHSA-8q3c-rjr9-xxrp
  - GO-2026-6366
ecosystem: go
ingestedAt: '2026-09-03T18:06:41.892Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-61625)

Affected packages:

- `github.com/VictoriaMetrics/VictoriaMetrics >= 1.137.0, < 1.146.0`
- `github.com/VictoriaMetrics/VictoriaMetrics >= 1.123.0, < 1.136.12`
- `github.com/VictoriaMetrics/VictoriaMetrics < 1.122.25`

Patched in:

- `github.com/VictoriaMetrics/VictoriaMetrics 1.146.0`
- `github.com/VictoriaMetrics/VictoriaMetrics 1.136.12`
- `github.com/VictoriaMetrics/VictoriaMetrics 1.122.25`

Source: https://osv.dev/vulnerability/GHSA-8q3c-rjr9-xxrp
