← Back to search

CVE-2026-112305

8.8 HIGHpublic exploit available

Published 2026-10-19 · Updated 2026-10-19

AI risk analysis

Summary
In Semaphore UI through 2.19.16, users with the task_runner role can inject arbitrary keys into the Ansible task environment JSON, overriding protected variables like ansible_ssh_common_args or ansible_connection to trigger local command execution via ProxyCommand or local connection, leading to remote code execution as the server user.
Exploitability
Exploitation requires valid credentials with the task_runner role and knowledge of how to craft malicious Ansible environment variables; no privilege escalation beyond that role is needed.
Blast radius
Successful exploitation grants full access to the Semaphore server’s runtime environment, including encryption keys, SSH keys, and stored secrets, enabling lateral movement and persistent compromise of connected infrastructure.
Detection
Monitor API logs for POST requests to task endpoints containing unexpected keys such as ansible_ssh_common_args or ansible_connection=local in the environment JSON payload; anomalies in environment variable structure beyond documented fields may indicate exploitation attempts.
Prioritized remediation
Upgrade to Semaphore UI version 2.19.17 or later, which addresses the vulnerability by properly sanitizing and restricting Ansible environment variable overrides for task_runner users.
rcecwe-915semaphore-uiansible-injectionprivilege-escalation

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-915

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.