---
id: CVE-2026-111079
title: 'Goose: goose: shell history and environment leak via terminal integration'
summary: >-
  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 que…
severity: high
cvss: 7.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-497
vendor: Red Hat
product: goose
affected:
  - goose (all versions)
  - goose (all versions)
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T10:18:32.797Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111079'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-111079'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2554025'
    label: RHBZ#2554025
tags:
  - cve.org
ingestedAt: '2026-10-22T10:35:54.916Z'
---

## Overview

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.

## Affected

- `goose (all versions)`
- `goose (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
