CVE-2026-44189

Ansible-lightspeed: visual studio code ansible lightspeed extension: arbitrary code execution via malicious playbook filename

Published Jul 22, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the Visual Studio Code Ansible Lightspeed extension's AnsiblePlaybookRunProvider. This command injection vulnerability allows an attacker to craft a malicious playbook filename containing special characters. When a victim runs the playbook, these characters are not properly sanitized, leading to the execution of arbitrary code with the privileges of the user running VS Code. This could result in a full system compromise, including the exfiltration of sensitive data, modification of project files, and permanent data loss.

Analysis

AI-generated

Technical impact

This vulnerability exposes a command injection flaw in the Visual Studio Code Ansible Lightspeed extension’s playbook runner. A maliciously crafted playbook filename containing special characters is not sanitized, allowing an attacker to execute arbitrary commands with the privileges of the user running VS Code. The compromise can lead to full system control, data exfiltration modification, and permanent loss of project and system files.

Affected Systems

The flaw affects the Red Hat Ansible Automation Platform version 2 and the accompanying Ansible Lightspeed extension for Visual Studio Code. Any system that has this platform and extension installed and processes playbooks with unchecked filenames is impacted.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, but the EPSS score of less than 1% suggests exploitation is considered unlikely at present. This vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is local or compromised application context, requiring an attacker to supply a maliciously named playbook that a user then runs in VS Code. If an attacker can influence the filename that the extension processes, they can execute arbitrary shell commands with the launch‑time privileges of the VS Code process.

Remediation

Vendor Workaround

To mitigate this issue, users of the Visual Studio Code Ansible Lightspeed extension should avoid running Ansible playbooks from untrusted sources or those with suspicious filenames. Always verify the origin and integrity of playbook files before execution to prevent command injection. This operational control limits exposure by preventing the processing of maliciously crafted filenames.


OpenCVE Recommended Actions

  • Avoid running playbooks with untrusted or suspicious filenames; ensure filenames contain only safe characters.
  • Verify the origin and integrity of playbook files before execution, using checksums or trusted source verification.
  • Monitor the vendor’s security advisories for a patch and upgrade the Ansible Lightspeed extension once it becomes available.

Generated by OpenCVE AI on August 3, 2026 at 23:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in the Visual Studio Code Ansible Lightspeed extension's AnsiblePlaybookRunProvider. This command injection vulnerability allows an attacker to craft a malicious playbook filename containing special characters. When a victim runs the playbook, these characters are not properly sanitized, leading to the execution of arbitrary code with the privileges of the user running VS Code. This could result in a full system compromise, including the exfiltration of sensitive data, modification of project files, and permanent data loss.
Title Ansible-lightspeed: visual studio code ansible lightspeed extension: arbitrary code execution via malicious playbook filename
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-88
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Jul 22, 2026, 12:19 PM
Reserved
May 5, 2026, 3:02 PM
Status
Awaiting Analysis
Published
Jul 22, 2026, 12:17 PM
Modified
Oct 24, 2026, 5:10 PM
Severity
Important
Public date
Jul 22, 2026, 11:59 AM