{"id":"CVE-2022-25766","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-25766","generatedAt":"2026-11-05T00:36:01.744Z","title":"The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection.","description":"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.","published":"2022-03-21T18:15:08.000Z","lastModified":"2026-06-17T04:34:15.000Z","status":"Modified","sourceIdentifier":"report@snyk.io","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"},"cwe":["CWE-88"],"affected":["ungit project/ungit"],"epss":{"score":0.34543,"percentile":0.9842,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 34.5%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520","tags":["Broken Link","Release Notes","Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://github.com/FredrikNoren/ungit/pull/1510","tags":["Exploit","Patch","Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099","tags":["Release Notes","Third Party Advisory"],"source":"report@snyk.io"},{"url":"https://github.com/FredrikNoren/ungit/blob/master/CHANGELOG.md%231520","tags":["Broken Link","Release Notes","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/FredrikNoren/ungit/pull/1510","tags":["Exploit","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://snyk.io/vuln/SNYK-JS-UNGIT-2414099","tags":["Release Notes","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25766","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}