Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Ansible project with poisoned .vscode settings
-
DeliveryDeliver repo to victim (share/PR/clone)
-
ExploitVictim opens project in VS Code
-
ExecutionExtension reads ansible.python.activationScript unvalidated
-
PersistInjected shell commands execute
-
ImpactAttacker gains code execution as the user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to have the Ansible Lightspeed VS Code extension installed and enabled, and to open or execute an attacker-supplied project whose ansible.python.activationScript setting contains attacker-controlled command content (typically delivered via a committed .vscode/settings.json). What limits exploitation: mandatory user interaction (the victim must open/run the malicious project, UI:R), local access to the workstation (AV:L), and reliance on the victim honoring the malicious workspace setting - VS Code Workspace Trust / Restricted Mode or a pre-existing trusted user-level override of this setting blunts the attack. It is not remotely triggerable without the user opening the project. |
| Impact | The CVSS 3.1 base score is 7.8 (High) with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, which is internally consistent with the description: exploitation is local (opening a project), requires no attacker privileges, but does require the victim to open/run the malicious project (UI:R), yielding full confidentiality, integrity, and availability impact on the user's machine. No EPSS score, SSVC decision, KEV entry, or POC was provided in the input, so the real-world signal beyond CVSS is limited. The dominant limiting factor is user interaction plus a non-default, attacker-influenced configuration setting - this is a social-engineering / supply-chain-of-a-repo style vector rather than remote-unauthenticated mass exploitation, so it merits prompt patching for developers who open untrusted Ansible repositories but does not represent an internet-facing worm-class risk. Note the label 'remote attacker' in the description reflects that the malicious project originates remotely, while the CVSS vector correctly encodes the exploitation itself as local (AV:L). |
| Exploit ScenarioDerived | An attacker publishes an Ansible repository (or submits a pull request) containing a .vscode/settings.json that sets ansible.python.activationScript to a string embedding shell commands. A developer clones and opens the project in VS Code with the Ansible Lightspeed extension enabled; when the extension activates the Python environment, the injected commands run with the developer's privileges, giving the attacker code execution on the workstation. No public POC was provided, and low attack complexity means a single project-open is sufficient once the victim trusts the workspace. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Command injection in the Ansible Lightspeed extension for Visual Studio Code lets a crafted project achieve arbitrary code execution on a developer's machine. The extension's ansible.python.activationScript setting is treated as a shell command rather than validated as a file path, so when a victim opens or runs a malicious repository, attacker-controlled content in that setting executes with the privileges of the VS Code process. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Update the Ansible Lightspeed VS Code extension to the fixed version once published; consult the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-44190 and Bugzilla 2466762 (https://bugzilla.redhat.com/show_bug.cgi?id=2466762) for the exact patched build, as no specific fix version is confirmed in the available data. As compensating controls until patched: do not open untrusted Ansible/VS Code projects, and when you must, open them in VS Code Restricted Mode / Workspace Trust so workspace-level settings are not automatically honored; review any incoming .vscode/settings.json for an ansible.python.activationScript entry and remove or override it with a trusted user/global value before loading the workspace; and consider disabling the Ansible Lightspeed extension when working with unvetted repositories. The trade-off of Restricted Mode and disabling the extension is reduced functionality (language features and Lightspeed assistance) while the workspace is untrusted.
Affected ProductsAI
The affected product is the Red Hat Ansible Lightspeed extension for Visual Studio Code. Exact affected and fixed version ranges are not enumerated in the provided data; no CPE string was supplied. Refer to the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-44190 and the tracking bug at https://bugzilla.redhat.com/show_bug.cgi?id=2466762 for authoritative version and fix details.
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 affected component is the Ansible Lightspeed VS Code extension (an AI-assisted authoring/companion tool for Ansible content). The extension exposes a workspace setting, ansible.python.activationScript, whose intended purpose is to point at a Python virtual-environment activation script before the extension invokes the Python interpreter. The root cause is CWE-78 (OS Command Injection): the value is passed into a shell/command context without validating that it is a legitimate file path or sanitizing shell metacharacters. Because VS Code workspace settings can be committed to a repository (.vscode/settings.json), an attacker can populate this setting in a shared project so that the string is interpreted as executable shell commands the moment the extension activates its Python environment.
Know when Python gets its next vulnerability
- 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 trigger via opening a crafted project (AV:L, UI:R), no attacker privileges needed (PR:N), and command execution yields full C/I/A impact on the user's system.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Ansible Lightspeed Visual Studio Code extension. This Command Injection vulnerability (CWE-78) allows a remote attacker to execute unauthorized commands on a user's system. The issue occurs because the ansible.python.activationScript setting, intended for a virtual environment activation script, does not properly validate user input as a file path. If a user opens or executes a specially crafted project, an attacker could exploit this to gain complete control over the user's system with the privileges of the Visual Studio Code application.
Executive ViewAI
The Ansible Lightspeed extension for Visual Studio Code contains a command injection vulnerability (CVE-2026-44190) that executes arbitrary code on a developer's machine when they open a repository containing malicious workspace settings. Any developer using this extension is at immediate risk of credential theft, source code exfiltration, and lateral movement into build systems and production deployments. Organizations relying on Ansible development workflows must immediately restrict or remediate this extension to prevent adversaries from compromising the developer supply chain.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) Uninstall or disable the Ansible Lightspeed extension in VS Code; (2) Implement organizational policy prohibiting the use of ansible.python.activationScript and requiring the ansible.python setting to reference only pre-validated, internal Python environments; (3) Require mandatory security review and sign-off before developers open new Ansible repositories, with particular scrutiny on workspace settings files; (4) Use containerized or ephemeral development environments to limit blast radius if code execution occurs; (5) Maintain heightened monitoring of developer endpoint activity and credential usage for signs of compromise.
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.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-47651
GHSA-6hm5-xxgq-f387
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB