Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to backup storage bucket
-
DeliveryCraft part objects with '../' traversal sequences in names
-
ExploitWait for operator to invoke vmrestore against tampered source
-
Executionvmrestore resolves crafted paths outside -storageDataPath
-
PersistWrite arbitrary files within vmrestore process OS permissions
-
ImpactAchieve persistence or privilege escalation on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to have write access to - or the ability to substitute - the specific backup storage source targeted by the vmrestore invocation (an S3 bucket, GCS bucket, Azure Blob container, or other configured remote storage), enabling injection of object names containing ../ path traversal sequences. A legitimate operator must then actively invoke a vmrestore restore operation against the tampered source (UI:R), meaning exploitation cannot occur autonomously or without operator action. The vmrestore binary must be an unpatched version prior to 1.122.25, 1.136.12, or 1.146.0. The reach of file writes is bounded by the OS-level filesystem permissions of the vmrestore process - deployments running as root are most severely exposed. Exploitation does not require any access to the VictoriaMetrics application or storage host itself; the precondition is entirely on the backup storage layer. |
| Impact | The CVSS 6.8 score is best understood through its individual metrics rather than the aggregate number. AV:N/AC:L reflects that the attack path traverses the network (via a poisoned remote object store) with no special complexity once bucket access is achieved. PR:L captures the precondition of write access to the backup storage layer. UI:R is a genuine limiting factor - an operator must actively invoke vmrestore against the tampered source, meaning exploitation cannot fire autonomously. S:C and I:H together represent the most significant risk signal: arbitrary file writes escaping the intended restore directory, bounded only by the OS-level privileges of the vmrestore process. Deployments running vmrestore as root face the highest potential impact, including host compromise via overwritten binaries or cron jobs. No EPSS data was provided in the input, and this CVE is not listed in CISA KEV, indicating no confirmed active exploitation at time of analysis. No public POC exploit has been identified. The realistic threat actor is a malicious insider or external party who has already achieved write access to the backup storage infrastructure - this is a supply-chain-position attack, not opportunistic internet scanning. The risk is real but operationally gated. |
| Exploit ScenarioDerived | An attacker with write access to a VictoriaMetrics backup bucket (for example, a compromised IAM credential or malicious insider) uploads a crafted backup manifest including a part with an object name such as ../../etc/cron.d/backdoor, embedding an executable payload as the part content. When a legitimate operator runs vmrestore against that bucket - a routine DR or migration operation - the unpatched restore logic writes the part content to /etc/cron.d/backdoor on the host, scheduling a reverse shell or persistence mechanism within the vmrestore process's OS permissions. No public POC exploit exists at time of analysis, but the attack technique is well-understood and the source code diff makes the precise mechanism transparent. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Path traversal in VictoriaMetrics vmrestore (prior to versions 1.122.25, 1.136.12, and 1.146.0) allows an attacker who controls or can modify a remote backup source - S3, GCS, Azure Blob Storage, or equivalent - to plant dot-dot sequences in object names, causing vmrestore to write restored files outside the configured -storageDataPath directory when an operator executes a restore operation. The CVSS Scope Changed metric (S:C) reflects that successful exploitation reaches beyond the vmrestore process boundary to the broader host filesystem, enabling potential overwrite of binaries, configuration, or credentials within the OS permissions of the process. Vendor-released patches are available across three maintained branches; no active exploitation has been identified at time of analysis.
RemediationAI
Upgrade vmrestore to a patched release matching your deployment branch: v1.122.25 (https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25), v1.136.12 (https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12), or v1.146.0 (https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0). The root fix in commit 710c920d validates all backup part paths before any write operation, rejecting any path that resolves outside -storageDataPath. Where immediate upgrade is not possible, the most effective compensating control is to strictly restrict write access to backup storage buckets to trusted, audited principals only - removing the attacker's precondition entirely, with the trade-off that this is an organizational/IAM control rather than a code fix. Additionally, run vmrestore under a dedicated low-privilege OS account with filesystem permissions scoped only to the intended storage directory, limiting blast radius to that directory tree even if a crafted path escapes an unpatched binary. Avoid running vmrestore as root in any environment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is vmrestore, VictoriaMetrics' backup restoration tool, implemented in lib/backup/actions/restore.go and lib/backup/fslocal/fslocal.go. The tool fetches backup parts from remote object stores and writes them to a local filesystem path defined by -storageDataPath. Prior to the fix, the code consumed object names from the remote backup source without calling filepath.Clean() or verifying that resolved paths remained beneath the restore root - a textbook CWE-22 (Path Traversal / Improper Limitation of a Pathname to a Restricted Directory) failure. The upstream fix (commit 710c920d) introduces IsLocalPathInsideDir() on the Part type, which canonicalizes both the storage directory and the candidate part path via filepath.Clean(), then asserts the result begins with the storage directory prefix followed by a path separator, neutralizing ../ escape sequences. The check is applied before any write in restore.go and as a fatal assertion in fslocal.go. Affected CPE: cpe:2.3:a:victoriametrics:victoriametrics:*:*:*:*:*:*:*:* across the version ranges documented in EUVD-2026-63474.
Know when Victoriametrics gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Attacker needs write access to backup storage (PR:L); operator must actively run vmrestore (UI:R); file writes escape vmrestore boundary to broader host filesystem (S:C, I:H).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-63474
GHSA-8q3c-rjr9-xxrp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB