Impact
The vulnerability resides in the Visual Studio Code Ansible Lightspeed extension and allows an attacker to inject shell separators through the ansible.executionEnvironment.containerOptions and ansible.executionEnvironment.volumeMounts settings. This injection results in remote code execution with the privileges of the VS Code user, potentially giving the attacker full control of the victim machine. The weakness is a classic command injection flaw (CWE-78).
Affected Systems
The affected product is Red Hat Ansible Automation Platform 2, via the VS Code Ansible Lightspeed extension bundled with that platform. No specific version range is listed, but all releases of the 2.x platform that include the unpatched extension are vulnerable.
Risk and Exploitability
The CVSS score of 7.8 indicates a high severity. The EPSS score is less than 1%, and the vulnerability is not currently listed in CISA’s KEV catalog. It is likely exploitable during Language Server initialization or when executing a playbook, meaning the attack could be automated or triggered by enticing a user to open a malicious workspace or run a malicious playbook from an unverified source.
OpenCVE Enrichment