# CVE-2024-45187: Mage AI allows deleted users to use the terminal server with admin access, leading to remote code execution

- Severity: High 7.1 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-08-23T18:58:59.693Z
- Modified: 2026-07-07T17:56:50.974Z
- Also known as: GHSA-jg95-r9xh-xw9c, PYSEC-2026-1600
- Weaknesses: CWE-266, CWE-613
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: JFROG

## Description

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

(As written by CVE List.)

## Affected

- mage-ai: 0
- mage mage-ai: before *
- mage-ai (PyPI): up to 0.9.73

## Every score

- JFROG: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.1 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U`

## References

- <https://research.jfrog.com/vulnerabilities/mage-ai-deleted-users-rce-jfsa-2024-001039602/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45187> (advisory)
- <https://github.com/mage-ai/mage-ai> (package)
- <https://research.jfrog.com/vulnerabilities/mage-ai-deleted-users-rce-jfsa-2024-001039602> (web)
- <https://pypi.org/project/mage-ai> (package)
- <https://github.com/advisories/GHSA-jg95-r9xh-xw9c> (advisory)

## Sources

- CVE List: [CVE-2024-45187](https://www.cve.org/CVERecord?id=CVE-2024-45187), CVE Terms of Use, modified 2024-11-25
- GitHub Advisory Database: [GHSA-jg95-r9xh-xw9c](https://github.com/advisories/GHSA-jg95-r9xh-xw9c), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-45187](https://nvd.nist.gov/vuln/detail/CVE-2024-45187), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1600](https://osv.dev/vulnerability/PYSEC-2026-1600), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-45187 · Whole record: https://cve.day/CVE-2024-45187.json · Rebuilt by cve.day 2026-11-25T22:58:44.707Z
