{"answers":{"affected":"7 open source packages ship an affected version, including github.com/VictoriaMetrics/VictoriaMetrics.","exploited":"There is no known exploitation of CVE-2026-61625 in the wild and no public exploit code.","fix":"Upgrade github.com/VictoriaMetrics/VictoriaMetrics to a fixed version for your release line: 1.122.25, 1.136.12 or 1.146.0.","what":"CVE-2026-61625 is a medium-severity path traversal vulnerability in VictoriaMetrics, published on 20 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-61625 and fix it if it is affected.\n\nWhat it is: CVE-2026-61625 is a medium-severity path traversal vulnerability in VictoriaMetrics, published on 20 Aug 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-61625 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected all versions; fixed in 1.122.25, 1.136.12, 1.146.0\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected all versions; fixed in 1.122.25\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected all versions; fixed in 1.122.25\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected from 1.123.0; fixed in 1.136.12\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected from 1.123.0; fixed in 1.136.12\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected from 1.137.0; fixed in 1.146.0\n- github.com/VictoriaMetrics/VictoriaMetrics (Go): affected from 1.137.0; fixed in 1.146.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-61625/ (Markdown: https://insights.sbomify.com/CVE-2026-61625/index.md)","id":"CVE-2026-61625","markdown":"https://insights.sbomify.com/CVE-2026-61625/index.md","name":"CVE-2026-61625","record":{"aliases":["CLEANSTART-2026-PP41562","GHSA-8q3c-rjr9-xxrp","GO-2026-6366","MINI-2pfg-qhh2-gmf2","MINI-2vfv-2pg9-px9w","MINI-44x2-vg3j-9724","MINI-956q-wvvg-2xrv","MINI-c5h8-p3w6-8r8v","MINI-cp43-gx77-p676","MINI-gx2f-jg7g-3f63","MINI-pxxh-h8pq-5gpc","MINI-rw9g-qrv9-hj33","MINI-wc82-rgp6-4jf9"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"VictoriaMetrics vmrestore","requires_auth":"low_privilege","summary":"An attacker can craft backup object names with path traversal sequences to write files outside the restore directory during vmrestore operations.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"VictoriaMetrics vmrestore: path traversal via crafted backup part names escapes restore root","id":"CVE-2026-61625","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":7,"n_references":5,"next":{"headline":"nginx ignition has Unauthenticated Admin Account Creation via Onboarding Race Condition","id":"CVE-2026-61628"},"packages":[{"ecosystem":"Go","fixed":["1.122.25","1.136.12","1.146.0"],"introduced":["0","1.123.0","1.137.0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":"pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics","source":"GO-2026-6366"},{"ecosystem":"Go","fixed":["1.122.25"],"introduced":["0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":null,"source":"GHSA-8q3c-rjr9-xxrp"},{"ecosystem":"Go","fixed":["1.122.25"],"introduced":["0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":"pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics","source":"GHSA-8q3c-rjr9-xxrp"},{"ecosystem":"Go","fixed":["1.136.12"],"introduced":["1.123.0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":null,"source":"GHSA-8q3c-rjr9-xxrp"},{"ecosystem":"Go","fixed":["1.136.12"],"introduced":["1.123.0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":"pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics","source":"GHSA-8q3c-rjr9-xxrp"},{"ecosystem":"Go","fixed":["1.146.0"],"introduced":["1.137.0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":null,"source":"GHSA-8q3c-rjr9-xxrp"},{"ecosystem":"Go","fixed":["1.146.0"],"introduced":["1.137.0"],"last_affected":[],"package":"github.com/VictoriaMetrics/VictoriaMetrics","purl":"pkg:golang/github.com/VictoriaMetrics/VictoriaMetrics","source":"GHSA-8q3c-rjr9-xxrp"}],"prev":{"headline":"Pterodactyl Wings SFTP write path does not enforce disk quota, allowing node-wide disk exhaustion","id":"CVE-2026-61617"},"products":["VictoriaMetrics"],"published":"2026-08-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-20","vendors":["VictoriaMetrics"]},"summary":"An attacker can craft backup object names with path traversal sequences to write files outside the restore directory during vmrestore operations.","url":"https://insights.sbomify.com/CVE-2026-61625/"}