CVE-2022-25766
published high CVSS 3.1 · 8.8Remote Code Execution (RCE)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | ungitunspecified to < 1.5.20 | Affected | Not stated | snyk |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | ungit | unspecified to < 1.5.20 (affected · custom) | snyk · cna |
Weaknesses
1- Remote Code Execution (RCE)
References
3Provider assertions
2snyk · cna
Remote Code Execution (RCE)
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 351c6748417631fc601648f4d577a52e803c887d5c247c666d757b6f5dc436ed
- Ingested
- 23 Sep 2026, 07:59:05 UTC
- Source record
- Official CVE record