CVE-2026-111079

Goose: goose: shell history and environment leak via terminal integration

Published Oct 22, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
A flaw was found in Goose. When the terminal integration feature is enabled, the application captures shell command history and sends it verbatim without sanitization to configured Large Language Model (LLM) provider endpoints during queries. If a user enters sensitive data—such as API tokens, passwords, or environment variables containing secrets—in the terminal, this unredacted information is transmitted across trust boundaries. This can lead to sensitive information disclosure, exposing confidential credentials to external service providers and logs.

Analysis

AI-generated

Technical impact

Goose exposes a flaw in its terminal integration feature, capturing shell command history and transmitting it unchanged to configured LLM endpoints. The data, which may include API tokens, passwords, or other credentials, is sent across trust boundaries without any sanitization. This results in a leakage of confidential information that can be intercepted by external service providers, log collectors, or malicious actors. The weakness falls under CWE‑497, an Information Leakage vulnerability that compromises confidentiality.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux 10 and Red Hat Enterprise Linux 9 where Goose is installed. No specific version strings are supplied, so all current releases of Goose bundled with these RHEL versions are potentially impacted.

Risk and Exploitability

The CVSS score of 7.4 indicates a high severity. The EPSS score is not available, and the issue is not listed in CISA’s KEV database. Based on the description, the most likely attack vector is a local user with the terminal integration enabled who has access to the terminal session; the attacker could trigger the leak by entering sensitive data and prompting Goose to send queries to the LLM provider. Since no exploit code is publicly available or detailed, the exact likelihood of exploitation remains uncertain, but the potential for exposure of credentials is significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Red Hat Enterprise Linux to the latest patched release to obtain vendor fixes for Goose
  • If an update is not yet available, disable the terminal integration feature in Goose to prevent automatic history capture
  • Scrub any stored shell history and purge environment variables containing secrets from the system
  • Review and limit LLM provider endpoints used to ensure only non‑sensitive data is submitted

Generated by OpenCVE AI on October 22, 2026 at 11:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:9::extensions
cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:9
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Vendors & Products Red Hat
Red Hat enterprise Linux
Type Values Removed Values Added
Description A flaw was found in Goose. When the terminal integration feature is enabled, the application captures shell command history and sends it verbatim without sanitization to configured Large Language Model (LLM) provider endpoints during queries. If a user enters sensitive data—such as API tokens, passwords, or environment variables containing secrets—in the terminal, this unredacted information is transmitted across trust boundaries. This can lead to sensitive information disclosure, exposing confidential credentials to external service providers and logs.
Title Goose: goose: shell history and environment leak via terminal integration
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-497
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-497

    Exposure of Sensitive System Information to an Unauthorized Control Sphere

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 12:30 AM
Reserved
Oct 15, 2026, 2:28 PM
Status
Awaiting Analysis
Published
Oct 22, 2026, 11:17 AM
Modified
Nov 6, 2026, 1:17 AM
Severity
Important
Public date
Oct 22, 2026, 12:00 AM