# CVE-2023-31143: Mage-ai missing user authentication

Source: https://junglewise.ai/threats/cve-2023-31143-mage-ai-missing-user-authentication  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-05-09  
License: CC BY 4.0 with a link back

CVE-2023-31143 · Severity: low · CVSS 3.1 · Published 2023-05-09

mage-ai is an open-source data pipeline tool for transforming and integrating data. Those who use Mage starting in version 0.8.34 and prior to 0.8.72 with user authentication enabled may be affected by a vulnerability. The terminal could be accessed by users who are not signed in or do not have editor permissions. Version 0.8.72 contains a fix for this issue.

Technologies: [mage-ai (PyPI)](https://junglewise.ai/threats/technologies/pypi-mage-ai). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-31143 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-31143 being exploited in the wild.

**How severe is CVE-2023-31143?** Low severity, with a CVSS score of 3.1, published 9 May 2023.

**Which products and versions are affected?** mage-ai (PyPI) ECOSYSTEM:introduced=0.8.34,fixed=0.8.72, GIT:introduced=0,fixed=f63cd00f6a3be372397d37a4c9a49bfaf50d7650|ECOSYSTEM:introduced=0.8.34,fixed=0.8.72.

**Is there a fix for CVE-2023-31143?** Yes. mage-ai (PyPI): upgrade to 0.8.72 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-31143?** Check whether you run mage-ai (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mage-ai (PyPI): upgrade to 0.8.72 or later

  ```sh
  pip install "mage-ai>=0.8.72"
  ```


## Affected products

- mage-ai (PyPI) ECOSYSTEM:introduced=0.8.34,fixed=0.8.72, GIT:introduced=0,fixed=f63cd00f6a3be372397d37a4c9a49bfaf50d7650|ECOSYSTEM:introduced=0.8.34,fixed=0.8.72

## Identifiers

- CVE-2023-31143
- GHSA-c6mm-2g84-v4m7
- PYSEC-2023-64

## Related threats

- [PYSEC-2026-1600 - Mage AI incorrectly gives privileges to users with deleted accounts](https://junglewise.ai/threats/cve-2024-45187-mage-ai-incorrectly-gives-privileges-to-users-with-deleted)
- [PYSEC-2026-1601 - Mage AI Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-45188-mage-ai-path-traversal-vulnerability)
- [PYSEC-2026-1597 - Mage AI Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-45190-mage-ai-path-traversal-vulnerability)
- [PYSEC-2026-1599 - Mage AI Path Traversal vulnerability](https://junglewise.ai/threats/cve-2024-45189-mage-ai-path-traversal-vulnerability)
- [PYSEC-2026-1598 - Mage AI allows remote unauthenticated attackers to leak the terminal server command history of arbitrary users](https://junglewise.ai/threats/cve-2024-8072-mage-ai-allows-remote-unauthenticated-attackers-to-leak-the)
