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.
Published: 2026-07-22
Score: 3.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

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 yet.

History

Thu, 23 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Wed, 22 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Jul 2026 12:15:00 +0000

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'}


Subscriptions

Redhat Ansible Automation Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-22T16:02:42.074Z

Reserved: 2026-05-05T15:02:54.443Z

Link: CVE-2026-44187

cve-icon Vulnrichment

Updated: 2026-07-22T16:02:36.361Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-22T12:17:59.690

Modified: 2026-07-22T17:16:56.240

Link: CVE-2026-44187

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-22T11:59:23Z

Links: CVE-2026-44187 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:00:09Z

Weaknesses
  • CWE-256

    Plaintext Storage of a Password