Description
Semaphore UI is a web interface for managing DevOps tools. Prior to 2.18.17 and 2.19.5-beta2, repository git_url handling passes an attacker-controlled --upload-pack option to CmdGitClient.GetLastRemoteCommitHash through POST /api/project/{id}/repositories and scheduled commit-hash polling, allowing a project Manager or Owner to execute arbitrary OS commands in the Semaphore server process. This issue is fixed in versions 2.18.17 and 2.19.5-beta2.
Published: 2026-08-12
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Semaphore UI is vulnerable to OS command injection because attacker‑controlled values are passed unchecked to the underlying Git client during repository management and commit‑hash polling. An attacker who can act as a project Manager or Owner can issue a POST to \/api\/project\/\{id\}\/repositories, supplying a malicious --upload-pack parameter. This allows the execution of arbitrary commands in the Semaphore server process, leading to potential compromise of the host operating system, data exfiltration, or denial of service. The flaw is identified as CWE‑78 (OS Command Injection) and CWE‑88 (Command Injection via critical parameters). The CVSS score of 9.9 indicates a critical security impact.

Affected Systems

The issue affects all Semaphore UI deployments running version 2.18.x prior to 2.18.17 and 2.19.x prior to 2.19.5‑beta2. The patch was introduced in commit 7e8a9434bd81b82cf42220151c74801ea97542d6 and commit a7a7a33a64aea382a0726b3722856f298663eacf, and is available in releases v2.18.17 and v2.19.5‑beta2. Products from the vendor semaphoreui:semaphore are therefore impacted.

Risk and Exploitability

With a CVSS base score of 9.9, the vulnerability is considered critical. EPSS data is not available, so the current exploitation probability cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw remotely by interacting with the exposed API endpoint if they possess sufficient project‑level privileges, making the practical risk high. Because the flaw resides in a widely used web interface, an attacker with moderate skill can easily craft the required payload. The high severity score combined with the potential for arbitrary code execution implies that an affected organization should prioritize remediation.

Generated by OpenCVE AI on August 13, 2026 at 00:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Semaphore to version 2.18.17 or 2.19.5‑beta2, which removes the processing of attacker‑controlled --upload-pack options.
  • Before upgrading, restrict or disable the ability for project managers to supply custom Git options by filtering the '--upload-pack' field in the API request or applying custom validation middleware.
  • Continuously monitor API usage for anomalous '--upload-pack' parameters and audit logs for evidence of exploitation attempts; block repeated unauthorized requests.

Generated by OpenCVE AI on August 13, 2026 at 00:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 10:15:00 +0000

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

Wed, 12 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
Description Semaphore UI is a web interface for managing DevOps tools. Prior to 2.18.17 and 2.19.5-beta2, repository git_url handling passes an attacker-controlled --upload-pack option to CmdGitClient.GetLastRemoteCommitHash through POST /api/project/{id}/repositories and scheduled commit-hash polling, allowing a project Manager or Owner to execute arbitrary OS commands in the Semaphore server process. This issue is fixed in versions 2.18.17 and 2.19.5-beta2.
Title Semaphore U: OS Command Injection
Weaknesses CWE-78
CWE-88
References
Metrics cvssV3_1

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


Subscriptions

Semaphoreui Semaphore
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-12T16:03:38.426Z

Reserved: 2026-08-11T19:42:11.450Z

Link: CVE-2026-73294

cve-icon Vulnrichment

Updated: 2026-08-12T16:03:34.494Z

cve-icon NVD

Status : Received

Published: 2026-08-12T16:17:22.640

Modified: 2026-08-12T17:17:32.527

Link: CVE-2026-73294

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T09:48:26Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-88

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