CVE-2026-44187

Ansible-lightspeed: ansible lightspeed extension for visual studio code: information disclosure of google gemini api key

Published Jul 22, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
A flaw was found in the Ansible Lightspeed extension for Visual Studio Code. This vulnerability allows an attacker with local access to the workstation, or malware running with the user's privileges, to read the Google Gemini API key. The extension insecurely stores the API key in plain text within the user's configuration file and writes it to output log files. This information disclosure can lead to the attacker obtaining the API credential and potentially consuming the user's API quota.

Analysis

AI-generated

Technical impact

A flaw in the Ansible Lightspeed extension for Visual Studio Code allows an attacker with local access or malware running as the user to read the Google Gemini API key. The extension stores the key in plain text in the user’s configuration file and writes it to output logs, resulting in a data‑at‑rest disclosure (CWE‑256) that could enable the attacker to consume the user’s API quota.

Affected Systems

The vulnerability affects Red Hat Ansible Automation Platform 2 through its Ansible Lightspeed extension for Visual Studio Code. No specific patch or version details beyond that platform version are listed.

Risk and Exploitability

The CVSS score is 3.3, indicating a low‑moderate risk level, while the EPSS score is < 1 %, meaning the probability of active exploitation is very low. The vulnerability is not listed in CISA’s KEV catalog. Attackers need local or user‑level access, limiting the threat scope, but once the key is disclosed they could exhaust the user’s API quota and cause service interruptions.

Remediation

Vendor Workaround

Users should immediately rotate and remove any exposed Google Gemini API keys. The API key entry must be manually removed from the ~/.config/Code/User/settings.json file. Additionally, ensure secure handling or purging of log files that may contain the API key.


OpenCVE Recommended Actions

  • Rotate or revoke all exposed Google Gemini API keys immediately
  • Delete the key entry from ~/.config/Code/User/settings.json
  • Identify and securely purge any log files that may contain the API key
  • Temporarily disable or uninstall the Ansible Lightspeed extension until a vendor patch is released

Generated by OpenCVE AI on August 3, 2026 at 23:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in the Ansible Lightspeed extension for Visual Studio Code. This vulnerability allows an attacker with local access to the workstation, or malware running with the user's privileges, to read the Google Gemini API key. The extension insecurely stores the API key in plain text within the user's configuration file and writes it to output log files. This information disclosure can lead to the attacker obtaining the API credential and potentially consuming the user's API quota.
Title Ansible-lightspeed: ansible lightspeed extension for visual studio code: information disclosure of google gemini api key
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-256
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-256

    Plaintext Storage of a Password

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Jul 22, 2026, 4:02 PM
Reserved
May 5, 2026, 3:02 PM
Status
Awaiting Analysis
Published
Jul 22, 2026, 12:17 PM
Modified
Oct 24, 2026, 5:10 PM
Severity
Low
Public date
Jul 22, 2026, 11:59 AM