Skip to main content

Ansible Lightspeed EUVDEUVD-2026-47651

| CVE-2026-44190 HIGH
OS Command Injection (CWE-78)
2026-07-22 secalert@redhat.com GHSA-6hm5-xxgq-f387
7.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Ansible project with poisoned .vscode settings
  2. Delivery
    Deliver repo to victim (share/PR/clone)
  3. Exploit
    Victim opens project in VS Code
  4. Execution
    Extension reads ansible.python.activationScript unvalidated
  5. Persist
    Injected shell commands execute
  6. Impact
    Attacker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (redhat) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 49% exploitable
Prevalence
Low
niche AI assistant extension for Ansible developers in VS Code
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy