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.
Published: 2026-07-22
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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

History

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Jul 2026 12:15:00 +0000

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'}


Subscriptions

Redhat Ansible Automation Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-22T12:19:09.393Z

Reserved: 2026-05-05T15:02:54.443Z

Link: CVE-2026-44189

cve-icon Vulnrichment

Updated: 2026-07-22T12:19:02.345Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-22T12:17:59.817

Modified: 2026-07-22T16:23:35.893

Link: CVE-2026-44189

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-22T11:59:25Z

Links: CVE-2026-44189 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:00:09Z

Weaknesses
  • CWE-88

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