Vulnerability · Published Aug 20, 2026 · Assigned by GitHub_M
CVE-2026-61625VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root
Medium 6.8
In plain English
A medium-severity path traversal in VictoriaMetrics from VictoriaMetrics. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/VictoriaMetrics/VictoriaMetrics | 1.146.0 | GHSA-8q3c-rjr9-xxrp |
| Go | github.com/VictoriaMetrics/VictoriaMetrics | 1.136.12 | GHSA-8q3c-rjr9-xxrp |
| Go | github.com/VictoriaMetrics/VictoriaMetrics | 1.122.25 | GHSA-8q3c-rjr9-xxrp |
| Go | github.com/VictoriaMetrics/VictoriaMetrics | 1.122.25, 1.136.12, 1.146.0 | GO-2026-6366 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| VictoriaMetrics | VictoriaMetrics | >= 1.137.0, < 1.146.0>= 1.123.0, < 1.136.12< 1.122.25 |
Weakness: CWE-22 · Vector: 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 x_refsource_CONFIRM
- https://github.com/VictoriaMetrics/VictoriaMetrics/commit/710c920d6083327042a309e449fae4383617d817 x_refsource_MISC
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25 x_refsource_MISC
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12 x_refsource_MISC
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0 x_refsource_MISC