{
  "id": "CVE-2026-44190",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-44190",
  "published_at": "2026-07-22T12:06:42.591Z",
  "title": "Ansible-lightspeed: ansible lightspeed visual studio code extension: arbitrary code execution via command injection in activation script setting",
  "vendor": "Red Hat",
  "product": "Red Hat Ansible Automation Platform 2",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "workarounds": [
      "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."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
