Skip to content
Fencer Vulns
high 8.8

CVE-2022-25766 in the critical feed json

Remote Code Execution (RCE)

published 2022-03-21 4 y ago modified 2026-07-08 4 mo ago also GHSA-hf8c-xr89-vfm5 , EUVD-2022-1441

cvss
8.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
34.5%
EPSS 34.5% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm ungit 1.5.20
  • n/a ungit 1.5.20

Exploit prediction

34.54% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/FredrikNoren/ungit/pull/1510 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P
GitHub 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm ungit
<1.5.20
1.5.20

Affected products

  • n/a ungit

Classification

Weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.