# CVE-2024-2195: Remote Code Execution in aimhubio/aim

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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): 1.80%, higher than 79% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-10T17:08:12.635Z
- Modified: 2026-10-27T15:30:04.343Z
- Also known as: GHSA-mxvw-cj37-8g2h, PYSEC-2026-260
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

A critical Remote Code Execution (RCE) vulnerability was identified in the aimhubio/aim project, specifically within the `/api/runs/search/run/` endpoint, affecting versions >= 3.0.0. The vulnerability resides in the `run_search_api` function of the `aim/web/api/runs/views.py` file, where improper restriction of user access to the `RunView` object allows for the execution of arbitrary code via the `query` parameter. This issue enables attackers to execute arbitrary commands on the server, potentially leading to full system compromise.

(As written by CVE List.)

## Affected

- aimhubio aimhubio/aim: from unspecified up to latest
- aimhubio aim: from 3.0.0 up to *
- aim (PyPI): from 3.0.0 up to 3.25.0
- aimstack aim: from 3.0.0

## Every score

- @huntr_ai: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/22f2355e-b875-4c01-b454-327e5951c018> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-2195> (advisory)
- <https://github.com/aimhubio/aim> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-260.yaml> (web)
- <https://pypi.org/project/aim> (package, web)
- <https://github.com/advisories/GHSA-mxvw-cj37-8g2h> (advisory)

## Sources

- CVE List: [CVE-2024-2195](https://www.cve.org/CVERecord?id=CVE-2024-2195), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-mxvw-cj37-8g2h](https://github.com/advisories/GHSA-mxvw-cj37-8g2h), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2024-2195](https://nvd.nist.gov/vuln/detail/CVE-2024-2195), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-260](https://osv.dev/vulnerability/PYSEC-2026-260), CC-BY-4.0, modified 2026-07-01

---

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