# CVE-2026-112305: Semaphore UI through 2.19.16 RCE via Task Environment Ansible Variable Override

Source: https://aplosec.si/cve/CVE-2026-112305/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-112305

High 8.7 · Reported · No fix listed · CWE-915 · Multiple credited contributors · Go

# Semaphore UI through 2.19.16 RCE via Task Environment Ansible Variable Override

CVE-2026-112305 · published 2026-10-19

In plain words: this type of bug lets someone change parts of the application's data they should not be able to set (prototype pollution or mass assignment). No fixed release is listed yet.

## Summary

CVE-2026-112305 affects Semaphore UI (Go) through 2.19.16: RCE via Ansible variable override (CWE-915). No fixed release is listed. CVSS 4.0 base score 8.7 (High), assigned by VulnCheck. Published 2026-10-19 by VulnCheck. Credit: aditya-manit, Zachariah Mithani.

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/semaphore-ui-through-2.19.16-rce-via-task-environment-ansible-variable-override](https://www.vulncheck.com/advisories/semaphore-ui-through-2.19.16-rce-via-task-environment-ansible-variable-override)

- [Fix pull requesthttps://github.com/semaphoreui/semaphore/pull/3888](https://github.com/semaphoreui/semaphore/pull/3888)

- [Vulnerable codehttps://github.com/semaphoreui/semaphore/blob/v2.19.16/services/tasks/TaskRunner.go#L395-L431](https://github.com/semaphoreui/semaphore/blob/v2.19.16/services/tasks/TaskRunner.go#L395-L431)

- [Vulnerable codehttps://github.com/semaphoreui/semaphore/blob/v2.19.16/api/projects/tasks.go#L39-L75](https://github.com/semaphoreui/semaphore/blob/v2.19.16/api/projects/tasks.go#L39-L75)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-112305](https://www.cve.org/CVERecord?id=CVE-2026-112305)

**Severity:** High 8.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-112305)

**Package:** Semaphore UI

**Ecosystem:** Go

**Affected:** through 2.19.16

**Fixed:** None

**Weakness:** CWE-915

**CNA:** VulnCheck

**Credit:** aditya-manit finder · Zachariah Mithani finder
