CVE-2026-44187 PUBLISHED

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

Assigner: redhat
Reserved: 05.05.2026 Published: 22.07.2026 Updated: 22.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 3.3

Product Status

Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: affected
Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: affected
Vendor Red Hat
Product Red Hat Ansible Automation Platform 2
Versions Default: affected

Workarounds

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.

Credits

  • This issue was discovered by Laura Pardo (Red Hat Inc.).

References

Problem Types

  • Plaintext Storage of a Password CWE