Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed ungit Remote Git API
-
DeliveryInduce victim to trigger remote/credentials action
-
ExploitInject shell metacharacters via Remote argument
-
ExecutioncredentialsOption passes unsanitized input to shell
-
ImpactExecute arbitrary OS commands on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation targets ungit's Remote Git API, specifically the credentialsOption function in source/git-api.js, by supplying a crafted 'Remote' argument containing shell metacharacters that reach an OS command. Limiting factors: the CVSS vector specifies UI:P, so user interaction is required - a victim must perform or be induced to trigger the affected remote/credentials flow rather than the attacker acting fully autonomously. Additionally, ungit commonly binds to localhost by default, so the AV:N network reach depends on the instance being exposed on an accessible network interface; against a localhost-only deployment remote reach is constrained. The precise trigger syntax and input path are not detailed in the available sources beyond the named function and argument. |
| Impact | This is a moderate-severity OS command injection (CWE-78) in the credentialsOption function of ungit's Remote Git API, rated CVSS 4.0 5.3 by VulDB - the sole source. The 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/E:P) indicates a network-reachable, low-complexity, unauthenticated flaw (PR:N) that nonetheless requires passive user interaction (UI:P), which materially limits mass exploitation. Signals are thin and partly conflicting: VulDB scores the impact as merely Low across confidentiality, integrity and availability, yet the weakness class is command injection, which normally yields full code execution on the host - the recorded L/L/L impacts appear to understate the realistic consequence of arbitrary OS command execution. There is no CISA KEV listing (not confirmed actively exploited) and no EPSS value in the input, so widespread exploitation cannot be asserted. A public PoC reference exists (a GitHub issue) but it is not verified as working exploit code, so this is proof-of-concept maturity (E:P), not confirmed weaponization. The vuln.today decision label is this_month, i.e. a scheduled-remediation priority rather than act_now/emergency. Net: a credible real flaw worth patching this month, but tempered by the required user interaction, ungit's typical localhost deployment, and the absence of confirmed in-the-wild use. One open question: ungit by default binds to localhost, so the 'remote' network vector depends on the instance being exposed on the network - verify reachability against your deployment. |
| Exploit ScenarioDerived | An attacker crafts a malicious git remote value that, when processed by ungit's credentialsOption handling, injects shell metacharacters and executes arbitrary OS commands on the machine running ungit. Because the CVSS vector specifies UI:P, the attack hinges on a victim performing or being lured into triggering the affected remote/credentials operation (for example via a malicious repository or link to a reachable ungit instance). A public PoC reference exists in the project's GitHub issue tracker, but it is not verified as working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
OS command injection in ungit 1.5.30's Remote Git API allows unauthenticated remote attackers to reach the credentialsOption function in source/git-api.js through a crafted Remote argument containing shell metacharacters, potentially leading to command execution on the host. Exploitation requires user interaction per the assessed vector and depends on the ungit instance being reachable beyond its common localhost-only default. A public PoC reference exists but is not verified as working exploit code, and no CISA KEV confirmation or fixed version is present in the supplied data; the project was notified via an issue report and has not responded.
RemediationAI
No vendor-released patch is identified at time of analysis, and the project has not responded to the issue report. Because ungit commonly binds to localhost by default, the most direct compensating control is to keep it bound to localhost and restrict network access to the Remote Git API so untrusted remote clients cannot reach the affected credentialsOption flow; this lowers exposure but does not remediate the command injection for clients that can access the UI. Monitor https://github.com/FredrikNoren/ungit/issues/1688 and https://vuldb.com/vuln/442301 for a vendor update or fixed release.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ungit is a web-based interface for Git, and the affected component is its Remote Git API. The flaw is CWE-78, an OS command injection class caused by insufficient neutralization of special elements that reach an OS command; in this case the credentialsOption function in source/git-api.js handles a Remote argument that can be manipulated to inject shell metacharacters. The supplied CPE cpe:2.3:a:fredriknoren:ungit:*:*:*:*:*:*:*:* identifies the affected product line, while the report names version 1.5.30 and the specific function and file. The trigger syntax and exact input path beyond the named function and argument are not detailed in the available sources. The CVSS 4.0 vector shows PR:N but UI:P, so network reach is possible but a victim must participate in or be induced into the affected remote/credentials flow; ungit commonly binds to localhost by default, so AV:N reach depends on the instance being exposed on an accessible interface.
Know when Ungit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
OS command injection yields arbitrary command execution so C/I/A:H; vendor marks it network-reachable and unauthenticated (AV:N/PR:N), and UI:P maps to UI:R.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in FredrikNoren ungit 1.5.30. Affected by this issue is the function credentialsOption of the file source/git-api.js of the component Remote Git API. Executing a manipulation of the argument Remote can lead to os command injection. It is possible to launch the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
The package ungit before 1.5.20 are vulnerable to Remote Code Execution (RCE) via argument injection. Rated high severit
Argument injection (CWE-88) in ungit's /api/clone endpoint lets remote attackers influence the git clone invocation thro
EUVD-2026-133404
GHSA-xqh3-cqgx-g7mx
NVD
CVE.org
EPSS
VulDB
Exploit-DB