Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious Ansible repository
-
DeliveryVictim clones and opens in VS Code
-
ExploitVictim runs crafted-filename playbook
-
ExecutionFilename injected into run command
-
PersistArbitrary code executes as user
-
ImpactFull workstation compromise and data exfiltration
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires the victim to open a project containing an attacker-named playbook file (a filename crafted with shell metacharacters) in VS Code with the Ansible Lightspeed extension installed, and then to actively invoke the extension's run-playbook action via the AnsiblePlaybookRunProvider - that user interaction (UI:R) is the key limiting factor. No authentication or elevated privileges on the target are needed (PR:N), and attack complexity is low (AC:L), but the vector is local (AV:L): the attacker must get their malicious playbook onto the victim's machine, typically through a poisoned or shared repository, rather than exploiting it over the network. Exploitation is limited to environments where the Ansible Lightspeed extension is present and the user chooses to run the malicious playbook. |
| Impact | The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) describes a locally-triggered but high-impact flaw: no privileges are required, complexity is low, and it fully compromises confidentiality, integrity, and availability - but it requires user interaction (the victim must open the project and run the malicious playbook). No EPSS score, SSVC decision, or KEV status was supplied in the input, and no POC reference is present, so exploitation is best treated as theoretically-straightforward-but-not-yet-demonstrated. This is not a remotely-wormable network bug; the PR:N in the vector reflects that no authentication is needed to the *target*, not that it is internet-reachable - realistic exploitation depends on social engineering (getting a developer to clone and run a hostile repository). Net assessment: a genuine risk for teams that pull untrusted Ansible content, but lower urgency than a network-facing RCE because of the AV:L and UI:R constraints. Missing EPSS/KEV data should be independently checked before final prioritization. |
| Exploit ScenarioDerived | An attacker publishes a seemingly-useful Ansible project (for example on a public Git host) containing a playbook whose filename embeds shell metacharacters such as a command-substitution or semicolon-chained command. A developer clones the repo, opens it in VS Code with the Ansible Lightspeed extension, and clicks run on the playbook; the AnsiblePlaybookRunProvider builds the command line from the crafted filename and the injected commands execute with the developer's privileges. No public exploit code is identified at time of analysis, but the low attack complexity means a working payload would be trivial to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Arbitrary code execution in the Visual Studio Code Ansible Lightspeed extension lets an attacker embed shell metacharacters in an Ansible playbook filename that the AnsiblePlaybookRunProvider passes unsanitized to a command invocation. When a developer opens the malicious project and runs the playbook, the injected characters execute arbitrary commands with the privileges of the VS Code user. There is no public exploit identified at time of analysis, and the flaw is not listed in CISA KEV, but the local high-impact profile (CVSS 7.8, C:H/I:H/A:H) makes it a meaningful supply-chain/repository-poisoning risk for Ansible developers.
RemediationAI
No vendor-released patch version is identified in the supplied data, so the primary action is to consult the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-44189) and Bugzilla tracker (https://bugzilla.redhat.com/show_bug.cgi?id=2466763) for the fixed extension release and upgrade the Ansible Lightspeed extension to it as soon as it is published. Until a fixed version is applied, the most effective compensating control is to avoid opening or running Ansible playbooks from untrusted or externally-sourced repositories in VS Code, since the trigger is a malicious filename in a cloned project; developers should also inspect playbook filenames for shell metacharacters (semicolons, backticks, $(), pipes, ampersands) before invoking the run action, and disable or refrain from using the 'run playbook' feature of the extension on untrusted workspaces - the trade-off being loss of one-click playbook execution convenience. Using VS Code Restricted Mode / Workspace Trust for unfamiliar folders further limits accidental execution.
Affected ProductsAI
The affected product is the Ansible Lightspeed extension for Visual Studio Code, specifically its AnsiblePlaybookRunProvider component. The provided intelligence does not include CPE strings or an explicit affected version range, so precise vulnerable versions cannot be confirmed from the input alone; consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-44189 and the tracking bug at https://bugzilla.redhat.com/show_bug.cgi?id=2466763 for the authoritative version list. The vulnerability was reported by Red Hat Product Security (secalert@redhat.com).
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability lives in the AnsiblePlaybookRunProvider component of the Ansible Lightspeed extension for VS Code, which orchestrates running Ansible playbooks from the editor. Root cause is CWE-88 (Improper Neutralization of Argument Delimiters in a Command / argument injection): the provider constructs a command line to invoke the ansible-playbook runner using the playbook's filename, but fails to escape or neutralize special/shell metacharacters in that filename. Because the filename becomes part of a command string rather than being passed as a safely quoted argument, an attacker-controlled name can break out of the intended argument and inject additional commands or arguments that the underlying shell or process executor then runs. No CPE strings were provided in the source data, so exact affected extension versions are not enumerated in the input.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local delivery via a malicious playbook file (AV:L) with no target privileges (PR:N) but mandatory victim action to run it (UI:R); code runs as the user, fully impacting C/I/A.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
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.
Executive ViewAI
The Ansible Lightspeed extension for Visual Studio Code is vulnerable to arbitrary code execution when developers open projects with specially-crafted playbook filenames, creating a supply-chain risk for organizations dependent on Ansible-based infrastructure automation. An attacker can compromise developer workstations and potentially gain access to credentials, source code, and internal systems.
No vendor-released patch identified at time of analysis. In the interim, disable the Ansible Lightspeed extension in VS Code; restrict execution of Ansible playbooks to sandboxed or isolated environments; implement code review workflows that inspect playbook filenames for shell metacharacters; deploy endpoint detection and response (EDR) tools on developer workstations to monitor for suspicious command execution patterns originating from VS Code processes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-47650
GHSA-qqc6-9wv9-jxfp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB