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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-20 · Modified: 2026-08-20
- Aliases: GHSA-8q3c-rjr9-xxrp, GO-2026-6366
- Record: https://cvemate.com/vulnerability/CVE-2026-61625 · JSON: https://cvemate.com/vulnerability/CVE-2026-61625/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
- EPSS: 0.303%, percentile 24.75%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- github.com/VictoriaMetrics VictoriaMetrics (Go): ≥ 1.123.0, \< 1.136.12 \| \< 1.122.25 \| ≥ 1.137.0, \< 1.146.0
- victoriametrics victoriametrics: ≥ 1.137.0, \< 1.146.0 \| ≥ 1.123.0, \< 1.136.12 \| \< 1.122.25

## 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>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61625>
- <https://github.com/VictoriaMetrics/VictoriaMetrics>

---

Data as of 2026-12-05T14:01:44.576Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
