Description
Semaphore versions prior to 2.18.20 contain an OS command injection (argument injection) vulnerability in the repository git_url handling that allows authenticated users holding the Manager or Owner role on any project to achieve remote code execution on the Semaphore server host. Attackers can craft a malicious git_url value using git's --upload-pack= option to inject and execute arbitrary shell commands when the server processes repository operations using the default cmd_git client.
Published: 2026-08-14
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Semaphore versions before 2.18.20 contain an OS command injection flaw associated with the handling of the git_url field. The vulnerability is an argument injection that allows an authenticated user who holds a Manager or Owner role on any project to insert arbitrary shell commands into the git_url value using git's --upload-pack option. When the server executes repository operations with the default cmd_git client, the malicious command executes on the host, leading to full remote code execution.

Affected Systems

Affected systems are installations of the Semaphore application from the vendor Semaphore UI. Any deployment running a Semaphore server version earlier than 2.18.20 is vulnerable; newer releases receive the fix.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires the attacker to be authenticated within the Semaphore web interface and to have Manager or Owner privileges on a project. Attackers can craft a malicious git_url value and trigger the vulnerable repository functionality, resulting in remote code execution on the server host.

Generated by OpenCVE AI on August 14, 2026 at 22:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Semaphore to version 2.18.20 or later to remove the vulnerable git_url processing logic.
  • If an immediate upgrade is not possible, restrict the git_url input to only allow safe, unsigned patterns or block use of the --upload-pack option entirely, thereby preventing command injection.
  • Implement or enforce stricter validation and sanitization on the git_url field to reject any URLs containing shell metacharacters or git plumbing options such as --upload-pack.

Generated by OpenCVE AI on August 14, 2026 at 22:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Semaphoreui
Semaphoreui semaphore
Vendors & Products Semaphoreui
Semaphoreui semaphore

Fri, 14 Aug 2026 21:15:00 +0000

Type Values Removed Values Added
Description Semaphore versions prior to 2.18.20 contain an OS command injection (argument injection) vulnerability in the repository git_url handling that allows authenticated users holding the Manager or Owner role on any project to achieve remote code execution on the Semaphore server host. Attackers can craft a malicious git_url value using git's --upload-pack= option to inject and execute arbitrary shell commands when the server processes repository operations using the default cmd_git client.
Title Semaphore prior to version 2.18.20 OS Command Injection via git_url Repository Handling
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Semaphoreui Semaphore
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T21:06:36.069Z

Reserved: 2026-08-13T15:15:35.896Z

Link: CVE-2026-73682

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T21:17:58.033

Modified: 2026-08-14T21:17:58.033

Link: CVE-2026-73682

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T22:30:03Z

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')