Live threats

All CVEs / Ungit Project

CVE-2022-25766Ungit Project Ungit

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
3.1%
probability of exploitation in 30 days · percentile 88
Auth required
Yes
Published
Mar 21, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ungit.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm ungit < 1.5.20 1.5.20 npm install ungit@1.5.20

Per OSV / GitHub Advisories (GHSA-hf8c-xr89-vfm5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ungit_projectungit< 1.5.20

Official sources

References

Links published by the sources. Open them with care.

  • github.com Broken Link Release Notes Third Party Advisory
  • github.com Exploit Patch Third Party Advisory
  • snyk.io Release Notes Third Party Advisory