Red Hat Ansible Automation Platform 2: command injection
High7.8CVE-2026-44190 · Published Jul 22, 2026 · updated Jul 23, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Ansible Automation Platform 2 Product | all versions | No fix yet |
| all versions | No fix yet | |
| all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-78
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 22 | Red Hat librest: attacker could bypass PKCE protections | Medium6.8 | No fix yet |
| Jul 22 | Red Hat Directory Server 11: denial of service | Medium5.3 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: command injection | High7.8 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: path traversal | Medium6.6 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: information disclosure | Low3.3 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: command injection | High7.8 | No fix yet |