Description
Semaphore UI through 2.19.16 contains a remote code execution vulnerability that allows users with the task_runner role to override protected Ansible variables by supplying arbitrary keys in the task environment JSON. Attackers can POST tasks setting ansible_ssh_common_args with a ProxyCommand or ansible_connection=local to execute commands as the Semaphore server user, exposing encryption keys, SSH keys and stored secrets.
Published: 2026-10-19
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

Semaphore UI versions up to 2.19.16 allow users who possess the task_runner role to submit tasks with arbitrary keys in the task environment JSON. By overriding protected Ansible variables such as ansible_ssh_common_args with a ProxyCommand or setting ansible_connection to local, an attacker can execute commands as the Semaphore server operating system user. This enables disclosure of encryption keys, SSH credentials, and other stored secrets stored on the host. The flaw is a classic example of content control over privileged variable injection, corresponding to CWE‑915.

Affected Systems

The vulnerability affects all installations of Semaphore UI version 2.19.16 and earlier. The product is provided by semaphoreui under the name "Semaphore UI."

Risk and Exploitability

The assessed CVSS score of 8.7 indicates a high severity RCE. The exploit requires remote access to the API endpoint that accepts task submissions and possession of a task_runner role. EPSS data is unavailable, and the vulnerability is not listed in CISA's KEV catalog, but the severe CVSS rating combined with the broad applicability means a real-world exploitation risk exists for exposed instances. The attack vector is remote, initiated over HTTP by sending a crafted POST request. Mitigation measures must therefore address both API access controls and the validation of task environment variables.

Generated by OpenCVE AI on October 19, 2026 at 17:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a fixed release once a vendor patch is available.
  • Restrict the task_runner role to only trusted administrators or disable it if not required, ensuring that only authorized users can submit tasks.
  • Modify the application configuration or implement input sanitization to block unauthorized changes to Ansible variables such as ansible_ssh_common_args and ansible_connection=local during task execution.

Generated by OpenCVE AI on October 19, 2026 at 17:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 19 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 19 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description Semaphore UI through 2.19.16 contains a remote code execution vulnerability that allows users with the task_runner role to override protected Ansible variables by supplying arbitrary keys in the task environment JSON. Attackers can POST tasks setting ansible_ssh_common_args with a ProxyCommand or ansible_connection=local to execute commands as the Semaphore server user, exposing encryption keys, SSH keys and stored secrets.
Title Semaphore UI through 2.19.16 RCE via Task Environment Ansible Variable Override
Weaknesses CWE-915
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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T17:40:14.094Z

Reserved: 2026-10-19T14:14:28.042Z

Link: CVE-2026-112305

cve-icon Vulnrichment

Updated: 2026-10-19T17:39:07.447Z

cve-icon NVD

Status : Deferred

Published: 2026-10-19T16:17:06.400

Modified: 2026-10-19T18:17:05.250

Link: CVE-2026-112305

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T17:15:06Z

Weaknesses
  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes