VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root
Summary
| CVE | CVE-2026-61625 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-20 17:18:51 UTC |
| Updated | 2026-08-20 19:16:56 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.8 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
| 3.1 | CNA | DECLARED | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | VictoriaMetrics | VictoriaMetrics | affected >= 1.137.0, < 1.146.0 | Not specified |
| CNA | VictoriaMetrics | VictoriaMetrics | affected >= 1.123.0, < 1.136.12 | Not specified |
| CNA | VictoriaMetrics | VictoriaMetrics | affected < 1.122.25 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/VictoriaMetrics/VictoriaMetrics/security/advisories/GHSA-8q3c... | [email protected] | github.com | |
| github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0 | [email protected] | github.com | |
| github.com/VictoriaMetrics/VictoriaMetrics/commit/710c920d6083327042a309... | [email protected] | github.com | |
| github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25 | [email protected] | github.com | |
| github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.