CVE-2026-44191
Ansible-lightspeed: visual studio code ansible lightspeed extension: remote code execution via command injection in configuration settings
- State
- Published
- Severity
- 7.8 High
- Published
- Jul 22, 2026
- Updated
- Jul 22, 2026
- Reserved
- May 5, 2026
Description
A flaw was found in the Visual Studio Code Ansible Lightspeed extension. This command injection vulnerability (CWE-78) arises from improper handling of the ansible.executionEnvironment.containerOptions and ansible.executionEnvironment.volumeMounts settings, allowing an attacker to inject shell separators. This can be triggered automatically during Language Server initialization or manually when executing a playbook. Successful exploitation leads to remote code execution (RCE) on the victim's machine with the privileges of the Visual Studio Code user, potentially resulting in a complete system compromise.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
Red Hat Ansible Automation Platform 2Red Hat | |
Red Hat Ansible Automation Platform 2Red Hat | |
Red Hat Ansible Automation Platform 2Red Hat |
References
- https://access.redhat.com/security/cve/CVE-2026-44191vdb-entry
- RHBZ#2466761issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.