Skip to content
OpenAdvisories
High · 7.8 CVE-2026-44190 EUVD-2026-47651GHSA-6hm5-xxgq-f387

Ansible-lightspeed: ansible lightspeed visual studio code extension: arbitrary code execution via command injection in activation script setting

Published Jul 22, 2026 · Updated Jul 23, 2026 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Ansible Automation Platform 2 — —

References