Skip to content
Red HatCVE-2026-44190

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Ansible Automation Platform 2
Product
all versionsNo fix yet
all versionsNo fix yet
all versionsNo 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
Advisory
Red Hat librest: attacker could bypass PKCE protections
Medium6.8Jul 22
Red Hat Directory Server 11: denial of service
Medium5.3Jul 22
Red Hat Ansible Automation Platform 2: command injection
High7.8Jul 22
Red Hat Ansible Automation Platform 2: path traversal
Medium6.6Jul 22
Red Hat Ansible Automation Platform 2: information disclosure
Low3.3Jul 22
Red Hat Ansible Automation Platform 2: command injection
High7.8Jul 22

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.