Skip to main content

VictoriaMetrics CVE-2026-61625

| EUVDEUVD-2026-63474 MEDIUM
Path Traversal (CWE-22)
2026-08-20 GitHub_M GHSA-8q3c-rjr9-xxrp
6.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain write access to backup storage bucket
  2. Delivery
    Craft part objects with '../' traversal sequences in names
  3. Exploit
    Wait for operator to invoke vmrestore against tampered source
  4. Execution
    vmrestore resolves crafted paths outside -storageDataPath
  5. Persist
    Write arbitrary files within vmrestore process OS permissions
  6. Impact
    Achieve 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

VictoriaMetrics 1.137.0, < 1.146.0
VictoriaMetrics 1.123.0, < 1.136.12
VictoriaMetrics < 1.122.25

Affected Packages

go github.com/victoriametrics/victoriametrics fix: 1.122.25, 1.136.12, 1.146.0
euvd victoriametrics fix: 1.122.25, 1.136.12, 1.146.0

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
vuln.today AI 6.8 MEDIUM

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

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
SUSE MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 17:02 EUVD
CVE Published
Aug 20, 2026 - 16:45 cve.org
MEDIUM 6.8

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

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular open-source time-series monitoring platform, enterprise and cloud-native niche
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy