GHSA-8q3c-rjr9-xxrp

Suggest an improvement
Source
https://github.com/advisories/GHSA-8q3c-rjr9-xxrp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8q3c-rjr9-xxrp/GHSA-8q3c-rjr9-xxrp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8q3c-rjr9-xxrp
Aliases
Downstream
MINI (10)
Published
2026-09-03T17:49:29Z
Modified
2026-09-15T19:10:28Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N CVSS Calculator
Summary
VictoriaMetrics vmrestore: Path traversal via crafted backup part names escapes restore root
Details

Summary

The VictoriaMetrics vmrestore utility does not validate backup part path components before writing restored files to the local filesystem. An attacker who can provide or modify a backup source can craft object names containing .. path components that cause vmrestore to write files outside the intended -storageDataPath restore root, subject to the permissions of the vmrestore process.

Impact

An attacker who can supply or modify the backup source -- for example by writing malicious object names to a compromised or misconfigured storage bucket -- can cause arbitrary files to be created or overwritten on the host running vmrestore, within the limits of the process's filesystem permissions.

Patches

Versions 1.146.0, 1.136.12, 1.122.25

Resources

Note

VictoriaMetrics' security model assumes backup sources are trusted and access-controlled. This vulnerability requires an attacker to have write access to the backup storage (e.g. S3, GCS, or Azure Blob Storage bucket) used as the -src for vmrestore. Under a correctly secured deployment where backup storage access is properly restricted, unauthorized exploitation of this issue should not be possible. Users are advised to follow the principle of least privilege when granting access to backup storage buckets.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-03T17:49:29Z",
    "nvd_published_at": "2026-08-20T17:18:51Z",
    "severity": "MODERATE"
}
References

Affected packages

Go
github.com/VictoriaMetrics/VictoriaMetrics

Package

Name
github.com/VictoriaMetrics/VictoriaMetrics
View open source insights on deps.dev
Purl
pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics

Affected ranges

Type
SEMVER
Events
Introduced
1.137.0
Fixed
1.146.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8q3c-rjr9-xxrp/GHSA-8q3c-rjr9-xxrp.json"
github.com/VictoriaMetrics/VictoriaMetrics

Package

Name
github.com/VictoriaMetrics/VictoriaMetrics
View open source insights on deps.dev
Purl
pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics

Affected ranges

Type
SEMVER
Events
Introduced
1.123.0
Fixed
1.136.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8q3c-rjr9-xxrp/GHSA-8q3c-rjr9-xxrp.json"
github.com/VictoriaMetrics/VictoriaMetrics

Package

Name
github.com/VictoriaMetrics/VictoriaMetrics
View open source insights on deps.dev
Purl
pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.122.25

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8q3c-rjr9-xxrp/GHSA-8q3c-rjr9-xxrp.json"