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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-10-19T15:28:55.694Z
- Modified: 2026-10-19T18:17:05.250Z
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- semaphoreui Semaphore UI: up to 2.19.16

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/semaphoreui/semaphore/pull/3888> (issue-tracking, patch, technical-description)
- <https://github.com/semaphoreui/semaphore/blob/v2.19.16/services/tasks/TaskRunner.go#L395-L431> (technical-description)
- <https://github.com/semaphoreui/semaphore/blob/v2.19.16/api/projects/tasks.go#L39-L75> (technical-description)
- <https://github.com/semaphoreui/semaphore> (product)
- <https://www.vulncheck.com/advisories/semaphore-ui-through-2.19.16-rce-via-task-environment-ansible-variable-override> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112305](https://www.cve.org/CVERecord?id=CVE-2026-112305), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-112305](https://nvd.nist.gov/vuln/detail/CVE-2026-112305), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-112305 · Whole record: https://cve.day/CVE-2026-112305.json · Rebuilt by cve.day 2026-11-25T22:59:45.520Z
