CVE-2026-61625 VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root
An attacker can craft backup object names with path traversal sequences to write files outside the restore directory during vmrestore operations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-61625?
CVE-2026-61625 is a medium-severity path traversal vulnerability in VictoriaMetrics, published on 20 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-61625?
7 open source packages ship an affected version, including github.com/VictoriaMetrics/VictoriaMetrics.
| Package | Affected | Fixed in |
|---|---|---|
github.com/VictoriaMetrics/VictoriaMetrics Go | All versions | 1.122.25, 1.136.12, 1.146.0 |
github.com/VictoriaMetrics/VictoriaMetrics Go | All versions | 1.122.25 |
github.com/VictoriaMetrics/VictoriaMetrics Go | All versions | 1.122.25 |
github.com/VictoriaMetrics/VictoriaMetrics Go | From 1.123.0 | 1.136.12 |
github.com/VictoriaMetrics/VictoriaMetrics Go | From 1.123.0 | 1.136.12 |
github.com/VictoriaMetrics/VictoriaMetrics Go | From 1.137.0 | 1.146.0 |
1 more packages
github.com/VictoriaMetrics/VictoriaMetrics Go | From 1.137.0 | 1.146.0 |
How do I fix CVE-2026-61625?
Upgrade github.com/VictoriaMetrics/VictoriaMetrics to a fixed version for your release line: 1.122.25, 1.136.12 or 1.146.0.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-61625 being exploited?
There is no known exploitation of CVE-2026-61625 in the wild and no public exploit code.
Sources
Also known as CLEANSTART-2026-PP41562, GHSA-8q3c-rjr9-xxrp, GO-2026-6366, MINI-2pfg-qhh2-gmf2, MINI-2vfv-2pg9-px9w, MINI-44x2-vg3j-9724 and 7 more.