{"id":"CVE-2026-44190","published":"2026-07-22T12:06:42Z","modified":"2026-07-23T13:50:44Z","title":"Ansible-lightspeed: ansible lightspeed visual studio code extension: arbitrary code execution via command injection in…","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00753,"percentile":0.51257,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-44190","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2466762","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.25},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]}],"workarounds":{"items":["To mitigate this issue, configure the `ansible.python.activationScript` setting to \"User\" scope only within Visual Studio Code settings. This prevents untrusted project configurations from defining this setting in `.vscode/settings.json`. Users should always review the contents of `.vscode/settings.json` before opening or executing playbooks from untrusted sources. This action does not require a service restart or reload."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-23T13:50:37.312218Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-47651","exploited":false,"provenance":"source"}}