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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-08-20T16:45:43.024Z
- Modified: 2026-10-26T10:10:00.140Z
- Also known as: GHSA-8q3c-rjr9-xxrp, GO-2026-6366
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- VictoriaMetrics VictoriaMetrics: >= 1.137.0, < 1.146.0; >= 1.123.0, < 1.136.12; < 1.122.25
- github.com/VictoriaMetrics/VictoriaMetrics (Go): from 1.137.0 before 1.146.0; from 1.123.0 before 1.136.12; before 1.122.25

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N`

## References

- <https://github.com/VictoriaMetrics/VictoriaMetrics/security/advisories/GHSA-8q3c-rjr9-xxrp> (advisory, web)
- <https://github.com/VictoriaMetrics/VictoriaMetrics/commit/710c920d6083327042a309e449fae4383617d817> (fix, web)
- <https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25> (web)
- <https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12> (web)
- <https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61625> (advisory)
- <https://github.com/VictoriaMetrics/VictoriaMetrics> (package)

## Sources

- CVE List: [CVE-2026-61625](https://www.cve.org/CVERecord?id=CVE-2026-61625), CVE Terms of Use, modified 2026-08-20
- GitHub Advisory Database: [GHSA-8q3c-rjr9-xxrp](https://github.com/advisories/GHSA-8q3c-rjr9-xxrp), CC-BY-4.0, modified 2026-09-15
- Go Vulnerability Database: [GO-2026-6366](https://pkg.go.dev/vuln/GO-2026-6366), CC-BY-4.0, modified 2026-09-15
- NVD: [CVE-2026-61625](https://nvd.nist.gov/vuln/detail/CVE-2026-61625), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-61625 · Whole record: https://cve.day/CVE-2026-61625.json · Rebuilt by cve.day 2026-11-25T22:59:34.666Z
