---
id: CVE-2024-8072
aliases:
  - GHSA-cgrq-wvfj-v28j
  - PYSEC-2026-1598
title: >-
  Mage AI allows remote unauthenticated attackers to leak the terminal server
  command history of arbitrary users
summary: >-
  Mage AI allows remote unauthenticated attackers to leak the terminal server
  command history of arbitrary users
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
vendor: mage-ai
product: mage-ai
ecosystem: pip
affected:
  - mage-ai <= 0.9.73
published: '2024-08-22'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-cgrq-wvfj-v28j'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-8072'
  - url: 'https://github.com/mage-ai/mage-ai'
  - url: >-
      https://research.jfrog.com/vulnerabilities/mage-ai-terminal-server-infoleak-jfsa-2024-001039574
tags:
  - osv
  - pip
epss: 0.00596
epssPercentile: 0.46141
ingestedAt: '2026-07-08T18:25:48.379Z'
---

## Overview

Mage AI allows remote unauthenticated attackers to leak the terminal server command history of arbitrary users.

## Affected packages

- `mage-ai <= 0.9.73`

## Remediation

Refer to the advisory for the patched release.
