7.8high
Ansible-lightspeed: ansible lightspeed visual studio code extension: arbitrary code execution via command injection in activation script setting
- Severity
- 7.8high CVSS:3.1 by redhat
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
A flaw was found in the Ansible Lightspeed Visual Studio Code extension. This Command Injection vulnerability (CWE-78) allows a remote attacker to execute unauthorized commands on a user's system. The issue occurs because the `ansible.python.activationScript` setting, intended for a virtual environment activation script, does not properly validate user input as a file path. If a user opens or executes a specially crafted project, an attacker could exploit this to gain complete control over the user's system with the privileges of the Visual Studio Code application.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| ansible-automation-platform-25/ansible-dev-tools-rhel8 | Not specified | CVE List |
| ansible-automation-platform-26/ansible-dev-tools-rhel9 | Not specified | CVE List |
| ansible-dev-tools | Not specified | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
A flaw was found in the Ansible Lightspeed Visual Studio Code extension. This Command Injection vulnerability (CWE-78) allows a remote attacker to execute unauthorized commands on a user's system. The issue occurs because the `ansible.python.activationScript` setting, intended for a virtual environment activation script, does not properly validate user input as a file path. If a user opens or executes a specially crafted project, an attacker could exploit this to gain complete control over the user's system with the privileges of the Visual Studio Code application.
NVD (es)
Se encontró una falla en la extensión de Visual Studio Code de Ansible Lightspeed. Esta vulnerabilidad de inyección de comandos (CWE-78) permite a un atacante remoto ejecutar comandos no autorizados en el sistema de un usuario. El problema ocurre porque la configuración ’ansible.python.activationScript’, destinada a un script de activación de entorno virtual, no valida correctamente la entrada del usuario como una ruta de archivo. Si un usuario abre o ejecuta un proyecto especialmente diseñado, un atacante podría explotar esto para obtener control total sobre el sistema del usuario con los privilegios de la aplicación Visual Studio Code.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44190 changed 2026-07-23 | CVE Terms of Use |
| NVD | CVE-2026-44190 changed 2026-10-24 | Public domain |