Skip to content
OpenAdvisories
Medium · 6.8 CVE-2026-61625 EUVD-2026-63474GHSA-8q3c-rjr9-xxrpGO-2026-6366

VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root

Published Aug 20, 2026 · Updated Aug 20, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
VictoriaMetrics VictoriaMetrics >= 1.137.0, < 1.146.0, >= 1.123.0, < 1.136.12, < 1.122.25 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
SLES 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 SUSE-SU-2026:23863-1, SUSE-SU-2026:23855-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260916T180043-160000.1.1 openSUSE-SU-2026:21897-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/VictoriaMetrics/VictoriaMetrics >= 1.137.0, < 1.146.0 1.146.0 GHSA-8q3c-rjr9-xxrp
Go github.com/VictoriaMetrics/VictoriaMetrics >= 1.123.0, < 1.136.12 1.136.12 GHSA-8q3c-rjr9-xxrp
Go github.com/VictoriaMetrics/VictoriaMetrics < 1.122.25 1.122.25 GHSA-8q3c-rjr9-xxrp
Go github.com/VictoriaMetrics/VictoriaMetrics < 1.122.25 · >= 1.123.0, < 1.136.12 · >= 1.137.0, < 1.146.0 1.122.25, 1.136.12, 1.146.0 GO-2026-6366

Advisories 3

References