---
id: CVE-2024-45187
aliases:
  - GHSA-jg95-r9xh-xw9c
  - PYSEC-2026-1600
title: Mage AI incorrectly gives privileges to users with deleted accounts
summary: Mage AI incorrectly gives privileges to users with deleted accounts
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'
vendor: mage-ai
product: mage-ai
ecosystem: pip
affected:
  - mage-ai <= 0.9.73
published: '2024-08-23'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-jg95-r9xh-xw9c'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-45187'
  - url: 'https://github.com/mage-ai/mage-ai'
  - url: >-
      https://research.jfrog.com/vulnerabilities/mage-ai-deleted-users-rce-jfsa-2024-001039602
tags:
  - osv
  - pip
epss: 0.00495
epssPercentile: 0.41612
ingestedAt: '2026-07-08T18:25:50.671Z'
---

## Overview

Guest users in the Mage AI framework that remain logged in after their accounts are deleted, are mistakenly given high privileges and specifically given access to remotely execute arbitrary code through the Mage AI terminal server.

## Affected packages

- `mage-ai <= 0.9.73`

## Remediation

Refer to the advisory for the patched release.
