CVE-2026-61625 is a medium-severity (CVSS 6.8) Path Traversal vulnerability in github.com/VictoriaMetrics/VictoriaMetrics. A fix is available for github.com/VictoriaMetrics/VictoriaMetrics — see the affected versions and patch details below.
VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-61625.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/VictoriaMetrics/VictoriaMetrics🐹github.com/VictoriaMetrics/VictoriaMetrics🐹github.com/VictoriaMetrics/VictoriaMetricsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.146.0
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.136.12
- https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.122.25
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/VictoriaMetrics/VictoriaMetrics | ≥ 1.137.0&&< 1.146.0 | 1.146.0go get github.com/VictoriaMetrics/VictoriaMetrics@v1.146.0 |
| 🐹Go | github.com/VictoriaMetrics/VictoriaMetrics | ≥ 1.123.0&&< 1.136.12 | 1.136.12go get github.com/VictoriaMetrics/VictoriaMetrics@v1.136.12 |
| 🐹Go | github.com/VictoriaMetrics/VictoriaMetrics | all versions | 1.122.25go get github.com/VictoriaMetrics/VictoriaMetrics@v1.122.25 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/VictoriaMetrics/VictoriaMetrics, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/VictoriaMetrics/VictoriaMetrics to 1.146.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-61625 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2026-61625 in your dependencies?
Find it across Go, including transitive dependencies.