{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-25766","published":"2022-03-21T18:15:07.990000Z","last_modified":"2026-06-17T04:34:14.510000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-88"],"cpes":[{"criteria":"cpe:2.3:a:ungit_project:ungit:*:*:*:*:*:node.js:*:*","part":"a","vendor":"ungit_project","product":"ungit","version_end_excluding":"1.5.20"}],"cpes_truncated":false,"vendors":["ungit_project"],"products":["ungit_project/ungit"],"epss":{"score":0.03051,"percentile":0.88317,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hf8c-xr89-vfm5","ecosystem":"npm","name":"ungit","purl":"pkg:npm/ungit","ranges":[{"introduced":"0","fixed":"1.5.20"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2022-25766/","html_en":"/en/cve/CVE-2022-25766/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25766","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25766"},"untrusted":{"vendor_name":"Ungit Project","product_name":"Ungit","desc_en":"The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. The issue occurs when calling the /api/fetch endpoint. User controlled values (remote and ref) are passed to the git fetch command. By injecting some git options it was possible to get arbitrary command execution.","affected":[],"references":[{"url":"https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520","tags":["Broken Link","Release Notes","Third Party Advisory"]},{"url":"https://github.com/FredrikNoren/ungit/pull/1510","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099","tags":["Release Notes","Third Party Advisory"]}]}}